@fesjs/fes-design
Version:
fes-design for PC
43 lines (42 loc) • 1.59 kB
TypeScript
import type { CSSProperties, PropType } from 'vue';
import type { ExtractPublicPropTypes } from '../_util/interface';
import type { LabelAlign, LabelPlacement, Size } from './interface';
export declare const descriptionsProps: {
readonly column: {
readonly type: NumberConstructor;
readonly default: 3;
};
readonly contentStyle: PropType<string | CSSProperties>;
readonly labelAlign: {
readonly type: PropType<LabelAlign>;
readonly default: "left";
readonly validator: (value: string) => boolean;
};
readonly labelPlacement: {
readonly type: PropType<LabelPlacement>;
readonly default: "left";
readonly validator: (value: string) => boolean;
};
readonly labelStyle: PropType<string | CSSProperties>;
readonly separator: {
readonly type: StringConstructor;
readonly default: ":";
};
readonly title: StringConstructor;
readonly bordered: BooleanConstructor;
readonly size: {
readonly type: PropType<Size>;
readonly default: "small";
readonly validator: (value: string) => boolean;
};
};
export type DescriptionsProps = ExtractPublicPropTypes<typeof descriptionsProps>;
export declare const descriptionsItemProps: {
readonly contentStyle: PropType<string | CSSProperties>;
readonly label: StringConstructor;
readonly labelStyle: PropType<string | CSSProperties>;
readonly span: {
readonly type: NumberConstructor;
};
};
export type DescriptionsItemProps = ExtractPublicPropTypes<typeof descriptionsItemProps>;