mirror of
https://github.com/tusen-ai/naive-ui.git
synced 2024-12-21 04:50:14 +08:00
feat(form): export FormItemRule and FormRules (#345)
* fix: tsconfig support ts * feat: form export FormItemRule and FormRules type
This commit is contained in:
parent
cff915f954
commit
efc0ba1e58
@ -10,6 +10,7 @@
|
||||
- `n-menu` add `dropdown-placement` prop.
|
||||
- `n-upload` add `before-upload` prop.
|
||||
- Support the enter key on the numeric keypad.
|
||||
- `n-form` export `FormItemRule` & `FormRules` type.
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -10,6 +10,7 @@
|
||||
- `n-menu` 新增 `dropdown-placement` 属性
|
||||
- `n-upload` 新增 `before-upload` 属性
|
||||
- 支持小键盘的 enter 键
|
||||
- `n-form` 导出 `FormItemRule` & `FormRules` 类型
|
||||
|
||||
### Fixes
|
||||
|
||||
|
@ -10,7 +10,12 @@ export type {
|
||||
FormItemGiProps,
|
||||
FormItemGiProps as FormItemGridItemProps
|
||||
} from './src/FormItemGridItem'
|
||||
export type { FormInst, FormItemInst } from './src/interface'
|
||||
export type {
|
||||
FormInst,
|
||||
FormItemInst,
|
||||
FormItemRule,
|
||||
FormRules
|
||||
} from './src/interface'
|
||||
|
||||
// deprecated
|
||||
export { default as NFormItemCol } from './src/FormItemCol'
|
||||
|
Loading…
Reference in New Issue
Block a user