UNPKG

@wix/design-system

Version:

@wix/design-system

39 lines (36 loc) 1.27 kB
### children - type: ReactNode - description: Any element to be rendered inside ### dataHook - type: string - description: Applied as data-hook HTML attribute that can be used in the tests ### className - type: string - description: Specifies a CSS class name to be appended to the component’s root element. - internal ### locale - type: SupportedWixLocales - description: Sets locale and formats the number according to it ### skin - type: "standard" | "light" | "warning" | "general" | "danger" | "success" | "neutralLight" | "warningLight" | "urgent" | "neutralStandard" - description: The component's colors ### type - type: "solid" | "outlined" - description: The component's visual style - default: 'solid' ### size - type: "small" | "tiny" | "medium" - description: The component's size. Can be tiny, small or medium ### showShadow - type: boolean - description: Makes the card have a box-shadow style ### truncate - type: boolean - description: Control whether values greater than 99 should be truncated - default: true ### onMouseEnter - type: MouseEventHandler - description: Callback fired when the mouse pointer enters the component ### onMouseLeave - type: MouseEventHandler - description: Callback fired when the mouse pointer leaves the component