package.src.components.ClipboardCopy.ClipboardCopyToggle.tsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of react-core Show documentation
Show all versions of react-core Show documentation
This library provides a set of common React components for use with the PatternFly reference implementation.
The newest version!
import * as React from 'react';
import styles from '@patternfly/react-styles/css/components/ClipboardCopy/clipboard-copy';
import { css } from '@patternfly/react-styles';
import AngleRightIcon from '@patternfly/react-icons/dist/esm/icons/angle-right-icon';
import { Button } from '../Button';
export interface ClipboardCopyToggleProps
extends Omit, HTMLButtonElement>, 'ref'> {
onClick: (event: React.MouseEvent) => void;
id: string;
textId: string;
contentId: string;
isExpanded?: boolean;
className?: string;
}
export const ClipboardCopyToggle: React.FunctionComponent = ({
onClick,
id,
textId,
contentId,
isExpanded = false,
...props
}: ClipboardCopyToggleProps) => (
);
ClipboardCopyToggle.displayName = 'ClipboardCopyToggle';