Files
react-test/docs/data/joy/components/textarea/TextareaValidation.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

15 lines
313 B
JavaScript
Raw Normal View History

2025-12-12 14:26:25 +09:00
import Box from '@mui/joy/Box';
import Textarea from '@mui/joy/Textarea';
export default function TextareaValidation() {
return (
<Box sx={{ p: 2 }}>
<Textarea
placeholder="Type in here…"
error
defaultValue="Oh no! Something is definitely wrong."
/>
</Box>
);
}