0.0.1 • Published 1 year ago
@tuv-indo/textarea v0.0.1
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/textareaInstal package using yarn
yarn add @hudoro/textareaInstal package using npm
npm i @hudoro/textareaUsage/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 |
0.0.1
1 year ago