Skip to content

Commit

Permalink
doc(text-area): add new doc in textarea (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
arielsrodriguez authored Nov 3, 2023
1 parent 65b9d9f commit 53e379c
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 8 deletions.
14 changes: 14 additions & 0 deletions docs/form/textarea.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,19 @@ With the prop <Tag text='isRequired' /> you can mark an textArea as required. Se
<TextArea isRequired label='This field is required' />" />

##### <span name="floating-nav">classNameTextArea</span>

With the prop <Tag text='classNameTextArea' /> you can customize the textArea, being able to enlarge it, shrink it and several other things according to your needs.

<Playground className="gap-y-2">
<TextArea classNameTextArea='h-48' />
</Playground>

<WindowEditor codeString="import { TextArea } from 'dd360-ds'
<TextArea classNameTextArea='h-48' />" />



##### <span name="floating-nav">API Reference</span>

Expand All @@ -126,6 +139,7 @@ With the prop <Tag text='isRequired' /> you can mark an textArea as required. Se
{ title: 'boxShadow', default: null, types: ['string'] },
{ title: 'isRequired', default: null, types: ['boolean'] },
{ title: 'className', default: null, types: ['string'] },
{ title: 'classNameTextArea', default: null, types: ['string'] },
]}
/>

Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"@algolia/autocomplete-core": "^1.8.3",
"@docsearch/react": "^3.5.1",
"@vercel/analytics": "^1.0.1",
"dd360-ds": "6.16.0",
"dd360-ds": "6.16.13",
"dd360-utils": "18.1.0",
"gray-matter": "^4.0.3",
"i18next": "^22.4.9",
Expand Down

0 comments on commit 53e379c

Please sign in to comment.