1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-24 11:01:41 +01:00
metamask-extension/ui/components/ui/textarea
George Marshall 6d34d85f6e
Textarea UI component (#12688)
* Initial Textarea component

* added no-scroll class and css

* added tests

* removed comment from prettier, updated README title

* updated tests

* added resize tests

* fixed grammar

* updated scss

* changes per linter

* updated title to match new folder structure for storybook

* reverted unintended change

Co-authored-by: hmalik88 <hassan.malik@consensys.net>
Co-authored-by: Hassan Malik <41640681+hmalik88@users.noreply.github.com>
2021-12-03 11:54:29 -05:00
..
index.js Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00
index.scss Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00
README.mdx Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00
textarea.js Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00
textarea.stories.js Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00
textarea.test.js Textarea UI component (#12688) 2021-12-03 11:54:29 -05:00

import { Story, Canvas, ArgsTable } from '@storybook/addon-docs';

import TextArea from '.';

# TextArea

TextArea allows users to enter text into the UI

<Canvas>
  <Story id="ui-components-ui-textarea-textarea-stories-js--default-story" />
</Canvas>

## Component API

<ArgsTable of={TextArea} />