Skip to content

Commit

Permalink
feat(playground): update colProps
Browse files Browse the repository at this point in the history
  • Loading branch information
jialan committed Nov 29, 2023
1 parent 4951fc5 commit 8cca38b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions packages/playground/src/components/editor/languages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,9 @@ export const fieldCompletionsCreator: (
detail: '值的派生',
},
{
label: 'span',
detail: '表单项占用栅格数',
label: 'colProps',
detail: '表单项栅格布局属性',
insertText: `"${'colProps'}": { "span": 24$1 },`,
},
].map((i) => ({
...i,
Expand Down
1 change: 1 addition & 0 deletions packages/playground/src/components/formSample/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ const FormSample: React.FC<IProps> = (props) => {
ref={formRef}
{...formLayout}
docsMap={docsMap}
rowProps={{ gutter: [16, 0] }}
getWidgets={getWidgets}
ruleMap={ruleMap}
formServicePool={formServicePool}
Expand Down

0 comments on commit 8cca38b

Please sign in to comment.