import styles from '@patternfly/react-styles/css/components/ClipboardCopy/clipboard-copy'; import { css } from '@patternfly/react-styles'; import RhMicronsCaretDownIcon from '@patternfly/react-icons/dist/esm/icons/rh-microns-caret-down-icon'; import { Button } from '../Button'; export interface ClipboardCopyToggleProps extends Omit< React.DetailedHTMLProps, HTMLButtonElement>, 'ref' > { onClick: (event: React.MouseEvent) => void; id: string; contentId: string; isExpanded?: boolean; className?: string; } export const ClipboardCopyToggle: React.FunctionComponent = ({ onClick, id, contentId, isExpanded = false, ...props }: ClipboardCopyToggleProps) => (