docs: component demo

This commit is contained in:
katherinehhh 2024-05-17 15:13:24 +08:00
parent dfc20f6202
commit f0b4419e47
2 changed files with 6 additions and 5 deletions

View File

@ -263,10 +263,7 @@ export default defineConfig({
title: 'Input', title: 'Input',
link: '/components/input', link: '/components/input',
}, },
{
title: 'AutoComplete',
link: '/components/auto-complete',
},
{ {
title: 'NanoIDInput', title: 'NanoIDInput',
link: '/components/nanoid-input', link: '/components/nanoid-input',
@ -452,6 +449,10 @@ export default defineConfig({
title: 'QuickEdit', title: 'QuickEdit',
link: '/components/quick-edit', link: '/components/quick-edit',
}, },
{
title: 'AutoComplete',
link: '/components/auto-complete',
},
], ],
}, },
], ],

View File

@ -12,7 +12,7 @@ type UploadProps = Omit<AntdUploadProps, 'onChange'> & {
size?: string; size?: string;
}; };
``` ```
Upload.Attachment 是附件字段的 UI 组件。
<code src="./demos/new-demos/basic.tsx"></code> <code src="./demos/new-demos/basic.tsx"></code>
## Multiple ## Multiple