UNPKG

welcome-ui

Version:

Customizable design system with react • styled-components • styled-system and ariakit.

18 lines (17 loc) 624 B
import { css } from '@xstyled/styled-components'; export type DefaultFieldIconSize = 'xs' | 'sm'; export type Size = 'xs' | 'sm' | 'md' | 'lg'; export declare const FIELD_ICON_SIZE: { [key in Size]: DefaultFieldIconSize; }; export type DefaultFieldStylesProps = Partial<{ hasIcon?: boolean; iconPlacement?: 'both' | 'left' | 'right'; isClearable?: boolean; size: Size; transparent?: boolean; variant: 'danger' | 'success' | 'warning'; }>; type DefaultFieldStyles = (args: DefaultFieldStylesProps) => ReturnType<typeof css>; export declare const defaultFieldStyles: DefaultFieldStyles; export {};