@minto-ai/mt-ui
Version:
UI组件库
105 lines (104 loc) • 2.57 kB
TypeScript
import { ExtractPropTypes, InjectionKey, PropType } from 'vue';
declare const cellGroupProps: {
/**
* 单元格之间的间距
*/
gutter: {
type: NumberConstructor;
default: number;
};
/**
* 整体宽度
*/
width: {
type: PropType<number | string>;
validator: (value: number | string) => boolean;
default: string;
};
/**
* 隐藏第一个单元格间距
*/
hideFirstMargin: {
type: PropType<boolean>;
default: boolean;
};
/**
* 隐藏最后一个单元格间距
*/
hideLastMargin: {
type: PropType<boolean>;
default: boolean;
};
};
export type CellGroupProps = ExtractPropTypes<typeof cellGroupProps>;
interface CellGroupContext {
}
declare const CellGroupKey: InjectionKey<CellGroupContext>;
export { CellGroupKey };
declare const _default: import('vue').DefineComponent<ExtractPropTypes<{
/**
* 单元格之间的间距
*/
gutter: {
type: NumberConstructor;
default: number;
};
/**
* 整体宽度
*/
width: {
type: PropType<number | string>;
validator: (value: number | string) => boolean;
default: string;
};
/**
* 隐藏第一个单元格间距
*/
hideFirstMargin: {
type: PropType<boolean>;
default: boolean;
};
/**
* 隐藏最后一个单元格间距
*/
hideLastMargin: {
type: PropType<boolean>;
default: boolean;
};
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<ExtractPropTypes<{
/**
* 单元格之间的间距
*/
gutter: {
type: NumberConstructor;
default: number;
};
/**
* 整体宽度
*/
width: {
type: PropType<number | string>;
validator: (value: number | string) => boolean;
default: string;
};
/**
* 隐藏第一个单元格间距
*/
hideFirstMargin: {
type: PropType<boolean>;
default: boolean;
};
/**
* 隐藏最后一个单元格间距
*/
hideLastMargin: {
type: PropType<boolean>;
default: boolean;
};
}>> & Readonly<{}>, {
width: string | number;
gutter: number;
hideFirstMargin: boolean;
hideLastMargin: boolean;
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
export default _default;