@purpurds/text-area
v4.5.1
Published
import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";
Downloads
2,358
Readme
import { Meta, Stories, ArgTypes, Primary, Subtitle } from "@storybook/blocks";
import * as TextAreaStories from "./src/text-area.stories"; import packageInfo from "./package.json";
TextArea
Version {packageInfo.version}
Showcase
Properties
Except for the props below, all "native" textarea attributes are also valid props. The only exception is:
id
- Required
Installation
Via NPM
Add the dependency to your consumer app like "@purpurds/purpur": "^x.y.z"
In MyApp.tsx
import "@purpurds/purpur/styles";
In MyComponent.tsx
import { TextArea } from "@purpurds/purpur";
export const MyComponent = () => {
return (
<div>
<TextArea {...someProps}>Some content</TextArea>
</div>
);
};