UNPKG

welcome-ui

Version:

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

20 lines (19 loc) 703 B
import { CreateWuiProps, WuiProps } from '../System'; export interface FlexOptions { /** same as alignItems */ align?: WuiProps['alignItems']; /** same as flexBasis */ basis?: WuiProps['flexBasis']; /** same as flexDirection */ direction?: WuiProps['flexDirection']; /** same as flexGrow */ grow?: WuiProps['flexGrow']; /** same as justifyContent */ justify?: WuiProps['justifyContent']; /** same as flexShrink */ shrink?: WuiProps['flexShrink']; /** same as flexWrap */ wrap?: WuiProps['flexWrap']; } export type FlexProps = CreateWuiProps<'div', FlexOptions>; export declare const Flex: import('../System').CreateWuiComponent<"div", FlexProps>;