import { ButtonProps } from '../Button'; import { FlowComponentProps } from '../../lib/componentFactory/flowComponent'; export interface CopyButtonProps extends Omit, FlowComponentProps { /** The text to copy. */ text?: string; /** * Called with the copied text once it has been written to the clipboard. Not * called when copying fails. */ onCopy?: (text: string) => void; } /** @flr-generate all */ export declare const CopyButton: import('react').FunctionComponent>; export default CopyButton;