Debian Codegraph @

node/@patternfly/react-core/src/components/ClipboardCopy/examples/ClipboardCopyReadOnlyExpanded.tsx

raw
1 import { ClipboardCopy, ClipboardCopyVariant } from '@patternfly/react-core';
2
3 export const ClipboardCopyReadOnlyExpanded: React.FunctionComponent = () => (
4 <ClipboardCopy
5 toggleAriaLabel="Show content for read-only expanded example"
6 copyAriaLabel="Copy read-only expanded example"
7 isReadOnly
8 hoverTip="Copy"
9 clickTip="Copied"
10 variant={ClipboardCopyVariant.expansion}
11 >
12 Got a lot of text here, need to see all of it? Click that arrow on the left side and check out the resulting
13 expansion.
14 </ClipboardCopy>
15 );