Textarea
v.2.0.1
The Textarea has necessary peerDependencies, please make sure that you have them in your project
"@mercell/tailwind": "^6.0.1",
"classnames": "^2.3.1",
"react": "^17.0.2"
Usage
Using the Textarea component is as simple as importing it like this.
Live Editor
Result
Types, definitions, etc.
- Types
- Changelog
- Figma
TextareaProps
type TextareaProps = {
heightAutoResize?: boolean;
invalid?: boolean;
} & JSX.IntrinsicElements['textarea'];
Change Log - @mercell/textarea-react
This log was last generated on Fri, 18 Nov 2022 09:57:29 GMT and should not be manually modified.
2.0.1
Fri, 18 Nov 2022 09:57:29 GMT
Patches
- Fix top margin to align it with input
2.0.0
Fri, 11 Nov 2022 09:18:57 GMT
Breaking changes
- New styling approach - use only tailwind classes, add tailwind-merge library
1.0.0
Thu, 15 Sep 2022 06:07:41 GMT
Breaking changes
- Migration to Tailwind3, React 18 and ViteJS from webpack.
0.0.2
Fri, 19 Aug 2022 07:54:17 GMT
Patches
- New component based on native textarea
Sometimes it can take some time until Figma will render component inside embed iframe. Try to click plus icon to 'reset' initial loader. (Works only in Chrome)
Click me to open figma in the new card