17 lines
289 B
TypeScript
17 lines
289 B
TypeScript
import React from 'react';
|
|
|
|
export interface CardListProps {
|
|
children?: React.ReactNode;
|
|
[key: string]: any;
|
|
}
|
|
|
|
export const CardList: React.FC<CardListProps> = ({ children, ...props }) => {
|
|
return (
|
|
<div {...props}>
|
|
{children}
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default CardList;
|