📝(react) add TextArea to form examples
This is made to showcase the TextArea in real world use cases.
This commit is contained in:
@@ -8,6 +8,7 @@ import { Select } from ":/components/Forms/Select";
|
||||
import { FileUploader } from ":/components/Forms/FileUploader";
|
||||
import { Switch } from ":/components/Forms/Switch";
|
||||
import { Radio } from ":/components/Forms/Radio";
|
||||
import { TextArea } from ":/components/Forms/TextArea";
|
||||
|
||||
export default {
|
||||
title: "Components/Forms/Examples",
|
||||
@@ -106,6 +107,9 @@ export const Application = () => {
|
||||
accept="application/pdf"
|
||||
/>
|
||||
</div>
|
||||
<div>
|
||||
<TextArea label="Cover letter" fullWidth={true} rows={5} />
|
||||
</div>
|
||||
<div>
|
||||
<Switch label="SMS Notification" fullWidth={true} />
|
||||
<Switch label="Subscribe to newsletter" fullWidth={true} />
|
||||
|
||||
Reference in New Issue
Block a user