@dodobrat/react-ui-kit
Version:
Simple React Component Library
14 lines (13 loc) • 600 B
TypeScript
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 {};