UNPKG

react-layout-kit

Version:
8 lines (7 loc) 636 B
import type { FlexDirection } from './type'; export declare const getPrefix: (prefixCls?: string) => string; export declare const getFlexDirection: (direction?: FlexDirection, isHorizontal?: boolean) => "row" | "row-reverse" | "column" | "column-reverse"; export declare const isSpaceDistribution: (distribution?: string) => boolean | undefined; export declare const isHorizontal: (direction?: FlexDirection, isHorizontal?: boolean) => boolean; export declare const isVertical: (direction?: FlexDirection, isHorizontal?: boolean) => boolean; export declare const getCssValue: (value: string | number | undefined) => string | undefined;