Convertir to typescript
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import classNames from 'classnames';
|
||||
|
||||
const Card = ({ children, className }: {children: React.ReactElement[], className: string}) => (
|
||||
<div className={classNames('max-w-xl', className)}>
|
||||
<div className="bg-white shadow-md rounded-b-xl dark:bg-black">{children}</div>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Card;
|
||||
Reference in New Issue
Block a user