Debian Codegraph @

node/@patternfly/react-core/src/components/TextArea/examples/TextAreaVerticallyResizable.tsx

raw
1 import { useState } from 'react';
2 import { TextArea } from '@patternfly/react-core';
3
4 export const VerticalResizeTextArea: React.FunctionComponent = () => {
5 const [value, setValue] = useState('');
6 return (
7 <TextArea
8 value={value}
9 onChange={(_event, value) => setValue(value)}
10 resizeOrientation="vertical"
11 aria-label="text area vertical resize example"
12 />
13 );
14 };