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