@hudoro/textarea
v0.0.1-beta.6
Published
textarea component for Hudoro UI
Downloads
1,471
Readme
Hudoro textarea
Hudoro textarea is a strict and customizable textarea component for web development projects, designed for simplicity and adherence to strict design guidelines.
Screenshots
Package instalation
Instal package using pnpm
pnpm add @hudoro/textarea
Instal package using yarn
yarn add @hudoro/textarea
Instal package using npm
npm i @hudoro/textarea
Usage/Examples
import React from "react";
import {Textarea} from "@hudoro/textarea";
import ReactDOM from "react-dom/client";
const App = () => (
<div style={{margin: "50px"}}>
<Textarea height={"128px"} />
</div>
);
ReactDOM.createRoot(document.getElementById("app")!).render(<App />);
Props @hudoro/textarea
Props that you can pass to <Textarea {...props} />
| Prop Name | Value | required | | :-------- | :--------------------------------- | :------- | ----- | | resize | "vertical" / "horizontal" / "both" | "none" | false | | height | CSSProperties["height"] | "none" | false | | width | CSSProperties["width"] | "none" | false | | size | "xs" / "sm" / "md" / "lg" | "none" | false |