welcome-ui
Version:
Customizable design system with react • styled-components • styled-system and ariakit.
7 lines (6 loc) • 382 B
TypeScript
import { CSSObject } from '@xstyled/styled-components';
import { ThemeValues } from '../../theme';
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl' | 'xxl';
export type ThemeVariantIcon = Record<Variant, CSSObject>;
export type Variant = 'ai' | 'danger' | 'default' | 'info' | 'success' | 'warning';
export declare const getVariantIcon: (theme: ThemeValues) => ThemeVariantIcon;