import { useState } from 'react'; import { PixelBareTextarea } from './PixelBareTextarea'; export function Default() { return ; } export function Uncontrolled() { return ( ); } export function Controlled() { const [value, setValue] = useState(''); return (
setValue(e.target.value)} placeholder="Type to see live updates" rows={4} aria-label="Message" /> {value.length} chars
); } export function Disabled() { return ( ); } export function ReadOnly() { return ( ); } export function WithCustomStyling() { return ( ); } export function WithMaxLength() { return ( ); } export function Required() { return ( ); }