Skip to content

Commit

Permalink
📝 docs: 添加 required 的文档
Browse files Browse the repository at this point in the history
  • Loading branch information
arvinxx committed Apr 18, 2021
1 parent 715a606 commit 9b5417d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/components/common/examples/FloatLabelInput/Basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ const Basic = () => {
<div>
<FloatLabelInput label={'名称'} value={value} onChange={setValue} />
<FloatLabelInput label={'地址'} value={value} onChange={setValue} />
<FloatLabelInput
label={'地址'}
value={value}
onChange={setValue}
required
/>
</div>
);
};
Expand Down

0 comments on commit 9b5417d

Please sign in to comment.