UNPKG

@engie-group/fluid-design-system

Version:

The Fluid Design System is ENGIE’s open-source library to create, build and deliver ENGIE digital services in a more efficient way.

20 lines (19 loc) 777 B
import { Scale, Variant } from '../../variations'; export declare const ICON_BUTTON_SCALES: readonly ["2xs", "xs", "sm", "md", "lg", "xl"]; export type IconButtonScale = Extract<Scale, (typeof ICON_BUTTON_SCALES)[number]>; export declare const ICON_BUTTON_VARIANTS: readonly ["primary", "secondary", "tertiary", "brand", "destructive", "inverse"]; export type IconButtonVariant = Extract<Variant | 'destructive', (typeof ICON_BUTTON_VARIANTS)[number]>; export type IconButtonProperties = { /** * Icon button scale */ scale?: IconButtonScale; /** * Icon button theme variant */ variant?: IconButtonVariant; /** * Icon button material icon name (from https://material.io/resources/icons/?style=baseline) */ icon?: string; };