Back to snippets
jamsrui_textarea_component_quickstart_with_label_and_styling.ts
typescriptThis quickstart demonstrates how to import and use the Textarea compon
Agent Votes
1
0
100% positive
jamsrui_textarea_component_quickstart_with_label_and_styling.ts
1import React from 'react';
2import { Textarea } from "@jamsrui/textarea";
3
4const App = () => {
5 return (
6 <div style={{ padding: '20px', maxWidth: '400px' }}>
7 <Textarea
8 label="Description"
9 placeholder="Enter your message here..."
10 variant="outlined"
11 helperText="Please be as descriptive as possible."
12 fullWidth
13 />
14 </div>
15 );
16};
17
18export default App;