We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d6fa6b4 commit f1671ddCopy full SHA for f1671dd
packages/react-core/src/components/ClipboardCopy/ClipboardCopy.tsx
@@ -89,7 +89,7 @@ export interface ClipboardCopyProps extends Omit<React.HTMLProps<HTMLDivElement>
89
/** A function that is triggered on changing the text. */
90
onChange?: (event: React.FormEvent, text?: string) => void;
91
/** The text which is copied. */
92
- children: string;
+ children: string | string[];
93
/** Additional actions for inline clipboard copy. Should be wrapped with ClipboardCopyAction. */
94
additionalActions?: React.ReactNode;
95
/** Value to overwrite the randomly generated data-ouia-component-id.*/
0 commit comments