Skip to content

Commit 1b2926d

Browse files
committed
add itemProps
1 parent c53a7de commit 1b2926d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@codingapi/ui-framework",
3-
"version": "0.0.20",
3+
"version": "0.0.21",
44
"description": "A UI Framework built with React and Typescript",
55
"keywords": [
66
"ui",

src/Form/types.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,9 @@ export interface FormItemProps {
135135
// 动态校验函数,尽在fields模式下生效
136136
validateFunction?: (content: FormValidateContent) => Promise<string[]>,
137137

138+
// 组件的默认属性
139+
itemProps?:any;
140+
138141
/** 以下为表单字段的拓展熟悉,非公共属性 **/
139142
// 单选框方向
140143
radioDirection?: "vertical" | "horizontal",

0 commit comments

Comments
 (0)