Debian Codegraph @

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

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