Some checks failed
No response / noResponse (push) Has been cancelled
CI / Continuous releases (push) Has been cancelled
CI / test-dev (macos-latest) (push) Has been cancelled
CI / test-dev (ubuntu-latest) (push) Has been cancelled
CI / test-dev (windows-latest) (push) Has been cancelled
Maintenance / main (push) Has been cancelled
Scorecards supply-chain security / Scorecards analysis (push) Has been cancelled
CodeQL / Analyze (push) Has been cancelled
16 lines
332 B
TypeScript
16 lines
332 B
TypeScript
import Box from '@mui/joy/Box';
|
|
import Textarea from '@mui/joy/Textarea';
|
|
|
|
export default function TextareaRows() {
|
|
return (
|
|
<Box sx={{ p: 2 }}>
|
|
<Textarea
|
|
placeholder="Type in here…"
|
|
defaultValue="Try to put text longer than 4 lines."
|
|
minRows={2}
|
|
maxRows={4}
|
|
/>
|
|
</Box>
|
|
);
|
|
}
|