| 1 |
import { Fragment } from 'react'; |
| 2 |
import { Button, TextArea, InputGroup, InputGroupItem } from '@patternfly/react-core'; |
| 3 |
|
| 4 |
export const InputGroupWithTextarea: React.FunctionComponent = () => ( |
| 5 |
<Fragment> |
| 6 |
<InputGroup> |
| 7 |
<InputGroupItem isFill> |
| 8 |
<TextArea name="inputGroup-with-textarea" id="inputGroup-with-textarea" aria-label="textarea with button" /> |
| 9 |
</InputGroupItem> |
| 10 |
<InputGroupItem> |
| 11 |
<Button id="textAreaButton2" variant="control"> |
| 12 |
Button |
| 13 |
</Button> |
| 14 |
</InputGroupItem> |
| 15 |
</InputGroup> |
| 16 |
</Fragment> |
| 17 |
); |