Skip to content

Commit

Permalink
bug(ClipboardCopy): change children type to string
Browse files Browse the repository at this point in the history
Signed-off-by: gitdallas <dallas.nicol@gmail.com>
  • Loading branch information
gitdallas committed Oct 13, 2023
1 parent bf81164 commit fffa82e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export interface ClipboardCopyProps extends Omit<React.HTMLProps<HTMLDivElement>
/** A function that is triggered on changing the text. */
onChange?: (event: React.FormEvent, text?: string | number) => void;
/** The text which is copied. */
children: React.ReactNode;
children: string;
/** Additional actions for inline clipboard copy. Should be wrapped with ClipboardCopyAction. */
additionalActions?: React.ReactNode;
/** Value to overwrite the randomly generated data-ouia-component-id.*/
Expand Down

0 comments on commit fffa82e

Please sign in to comment.