Debian Codegraph @

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

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