import { ReactNode } from 'react'; import ThemeProvider from '../../themes/themeProps'; export default interface CardProps { readonly active?: boolean; readonly backgroundColor?: ((props: { readonly theme: ThemeProvider; }) => string) | string; readonly textColor?: ((props: { readonly theme: ThemeProvider; }) => string) | string; readonly headerColor?: ((props: { readonly theme: ThemeProvider; }) => string) | string; readonly onClick?: (e: React.MouseEvent) => void; readonly overlayContent?: ReactNode | ReactNode[]; readonly title?: ReactNode | ReactNode[] | string; readonly children?: ReactNode; }