naive-ui
Version:
A Vue 3 Component Library. Fairly Complete, Theme Customizable, Uses TypeScript, Fast
75 lines (74 loc) • 2.85 kB
TypeScript
import type { ExtractPublicPropTypes } from '../../_utils';
import { type PropType } from 'vue';
export declare const defaultSpan = 1;
export declare const gridItemProps: {
readonly span: {
readonly type: PropType<string | number>;
readonly default: 1;
};
readonly offset: {
readonly type: PropType<string | number>;
readonly default: 0;
};
readonly suffix: BooleanConstructor;
readonly privateOffset: NumberConstructor;
readonly privateSpan: NumberConstructor;
readonly privateColStart: NumberConstructor;
readonly privateShow: {
readonly type: BooleanConstructor;
readonly default: true;
};
};
export declare const gridItemPropKeys: ("span" | "offset" | "suffix" | "privateSpan" | "privateColStart" | "privateShow" | "privateOffset")[];
export type GridItemProps = ExtractPublicPropTypes<typeof gridItemProps>;
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
readonly span: {
readonly type: PropType<string | number>;
readonly default: 1;
};
readonly offset: {
readonly type: PropType<string | number>;
readonly default: 0;
};
readonly suffix: BooleanConstructor;
readonly privateOffset: NumberConstructor;
readonly privateSpan: NumberConstructor;
readonly privateColStart: NumberConstructor;
readonly privateShow: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>, {
overflow: import("vue").Ref<boolean, boolean>;
itemStyle: import("vue").Ref<string | import("vue").CSSProperties | undefined, string | import("vue").CSSProperties | undefined>;
layoutShiftDisabled: import("vue").Ref<boolean, boolean>;
mergedXGap: import("vue").ComputedRef<string>;
deriveStyle: () => {
display: string;
gridColumn: string;
marginLeft: string;
};
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
readonly span: {
readonly type: PropType<string | number>;
readonly default: 1;
};
readonly offset: {
readonly type: PropType<string | number>;
readonly default: 0;
};
readonly suffix: BooleanConstructor;
readonly privateOffset: NumberConstructor;
readonly privateSpan: NumberConstructor;
readonly privateColStart: NumberConstructor;
readonly privateShow: {
readonly type: BooleanConstructor;
readonly default: true;
};
}>> & Readonly<{}>, {
readonly span: string | number;
readonly offset: string | number;
readonly suffix: boolean;
readonly privateShow: boolean;
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
export default _default;