Skip to content

Commit

Permalink
docs(react): fix the typo on ISchemaFieldProps (#2528)
Browse files Browse the repository at this point in the history
  • Loading branch information
B2D1 authored Nov 28, 2021
1 parent 432f620 commit 0c5c6f1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/react/docs/api/components/SchemaField.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface ISchemaFieldProps extends IFieldFactoryProps {
schema?: ISchema //Field schema
scope?: any //Protocol expression scope
name?: string //Field name
component?: {
components?: {
[key: string]: React.FC //Partial component list, note: the components passed here cannot enjoy smart prompts
}
}
Expand Down
2 changes: 1 addition & 1 deletion packages/react/docs/api/components/SchemaField.zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ interface ISchemaFieldProps extends IFieldFactoryProps {
schema?: ISchema //字段schema
scope?: any //协议表达式作用域
name?: string //字段名称
component?: {
components?: {
[key: string]: React.FC //局部组件列表,注意:这里传的组件是享受不到智能提示的
}
}
Expand Down

0 comments on commit 0c5c6f1

Please sign in to comment.