@pagedotapp/page-textarea
v0.0.0-alpha.13
Published
PageTextarea - A reusable React component
Readme
@pagedotapp/page-textarea
A styled textarea component with auto-resize support
Installation
npm install @pagedotapp/page-textareaUsage
import { PageTextarea } from "@pagedotapp/page-textarea"
function App() {
return (
<PageTextarea
placeholder="Enter your message..."
value={value}
onChange={handleChange}
rows={4}
/>
)
}Props
See the TypeScript definitions for detailed prop types.
Styling
This component uses CSS modules for styling. The styles are injected automatically when you use the component.
Dependencies
Peer Dependencies
- React >=16.8.0
- React DOM >=16.8.0
License
MIT © PageStudio
