UNPKG

norma-library

Version:

Olos/Norma-DS. Design System based on Material UI, developed with TypeScript and Styled Components to create reusable and consistent components in web applications.

35 lines (31 loc) 759 B
import { iconsSVG } from '../components/Svgs' import { IconScale } from '../types' import { SvgIconComponent } from '@mui/icons-material' import { ReactNode } from 'react' export interface ProductCardProps { // product?: string onClick?: () => void disabled?: boolean color: string title: string description: string hasBorder?: boolean favorite?: { flagged: boolean onFlag: () => any } icon?: { bgColor?: string; iconColor?: string; iconName?: keyof typeof iconsSVG | SvgIconComponent | string; iconWidth?: string | number; iconHeight?: string | number; scale?: IconScale; } } export interface BgIconProps { $bColor: string children?: ReactNode className?: string color: string }