import React, { FunctionComponent, HTMLAttributes } from 'react'; import classNames from '../../lib/classNames'; import getClassname from '../../helpers/getClassName'; import usePlatform from '../../hooks/usePlatform'; export interface CardProps extends HTMLAttributes { size?: 's' | 'm' | 'l'; mode?: 'tint' | 'shadow' | 'outline'; } const Card: FunctionComponent = ({ size, mode, children, style, className, ...restProps }: CardProps) => { const platform = usePlatform(); return (
{children}
); }; Card.defaultProps = { size: 'm', mode: 'tint', }; export default Card;