UNPKG

@greensight/gds

Version:
10 lines (9 loc) 476 B
import { ElementType, Ref } from 'react'; import { type IFlexLayoutProps } from './types'; export { FlexLayoutItem } from './components/Item'; /** * Flex layout component */ declare const FlexComponent: <P extends ElementType = "div">({ as: ComponentProp, gap, justify, align, className, children, wrap, ...props }: IFlexLayoutProps<P>, ref: Ref<P>) => import("@emotion/react/jsx-runtime").JSX.Element; declare const FlexLayout: typeof FlexComponent; export { FlexLayout };