@extclp/vexip-ui
Version:
A Vue 3 UI library, Highly customizability, full TypeScript, performance pretty good
38 lines (37 loc) • 1.56 kB
TypeScript
import { ExtractPropTypes, PropType } from 'vue';
import { ConfigurableProps } from '@vexip-ui/config';
import { CellFlex, CellOptions } from './symbol';
export declare const gridProps: {
inherit: PropType<boolean>;
tag: PropType<string>;
gap: PropType<number | number[]>;
rows: PropType<string | number | (string | number)[]>;
columns: PropType<string | number | (string | number)[]>;
autoRows: PropType<string | number | (string | number)[]>;
autoColumns: PropType<string | number | (string | number)[]>;
dense: PropType<boolean>;
justify: PropType<"center" | "start" | "end" | "space-around" | "space-between" | "space-evenly">;
align: PropType<"bottom" | "top" | "middle" | "stretch">;
cellFlex: PropType<boolean | Partial<CellFlex>>;
};
export type GridProps = ExtractPropTypes<typeof gridProps>;
export type GridCProps = ConfigurableProps<GridProps>;
export declare const cellProps: {
inherit: PropType<boolean>;
tag: PropType<string>;
top: PropType<string | number>;
left: PropType<string | number>;
width: PropType<number>;
height: PropType<number>;
right: PropType<string | number>;
bottom: PropType<string | number>;
xs: PropType<CellOptions>;
sm: PropType<CellOptions>;
md: PropType<CellOptions>;
lg: PropType<CellOptions>;
xl: PropType<CellOptions>;
xxl: PropType<CellOptions>;
useFlex: PropType<boolean | Partial<CellFlex>>;
};
export type CellProps = ExtractPropTypes<typeof cellProps>;
export type CellCProps = ConfigurableProps<CellProps>;