UNPKG

@dodobrat/react-ui-kit

Version:
14 lines (13 loc) 600 B
import { HTMLAttributes } from "react"; import { CnCh, AllFlexAlignOptions, AllFlexJustifyOptions, AllFlexDirectionOptions, AllFlexWrapOptions, AllSizeOptions, ElemType } from "../../../helpers/global.types"; declare type FlexExtraProps = CnCh & ElemType & HTMLAttributes<unknown>; export interface FlexProps extends FlexExtraProps { spacingX?: AllSizeOptions; spacingY?: AllSizeOptions; disableNegativeSpace?: boolean; align?: AllFlexAlignOptions; justify?: AllFlexJustifyOptions; direction?: AllFlexDirectionOptions; wrap?: AllFlexWrapOptions; } export {};