UNPKG

naive-ui-form

Version:

一个基于naive-ui封装的表单组件,一个配置,生成一个表单

61 lines (60 loc) 1.36 kB
import type { PropType } from 'vue'; import type { GridProps } from 'naive-ui'; import type { FormSchema } from '../types'; export declare const props: { schemas: { type: PropType<FormSchema[]>; default: () => never[]; }; grid: { type: PropType<GridProps>; default: () => { cols: number; xGap: number; }; }; showActionBtns: { type: BooleanConstructor; default: boolean; }; showSubmitBtn: { type: BooleanConstructor; default: boolean; }; submitBtnText: { type: StringConstructor; default: string; }; showResetBtn: { type: BooleanConstructor; default: boolean; }; resetBtnText: { type: StringConstructor; default: string; }; showExpandBtn: { type: BooleanConstructor; default: boolean; }; expandBtnOffText: { type: StringConstructor; default: string; }; expandBtnOnText: { type: StringConstructor; default: string; }; defaultExpand: { type: BooleanConstructor; default: boolean; }; defaultShowExpandRows: { type: NumberConstructor; default: number; }; disabled: { type: BooleanConstructor; default: boolean; }; };