@mikezimm/fps-library-v2
Version:
Library of reusable typescript/javascript functions, interfaces and constants
26 lines • 957 B
TypeScript
import * as React from 'react';
import { IIconStyles } from '@fluentui/react/lib/Icon';
export interface ICopyCatProps {
copyText: string | string[];
iconName?: string;
hoverText?: string;
confirmLabel?: string;
buttonLabel?: string;
compStyles?: React.CSSProperties;
iconStyles?: IIconStyles;
optionKey?: string;
onCopy?: (event: React.MouseEvent<HTMLElement>, copiedText: string, optionKey?: string) => void;
disabled?: boolean;
durationMs?: number;
joiner?: string;
uniques?: boolean;
/** Optional overlay icon (like a #) */
overlayIconName?: string;
/** Overlay icon color */
overlayColor?: string;
/** Overlay scale relative to base icon (0.5 = 50%) */
overlayScale?: number;
overlayPosition?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left';
}
export declare const CopyCat: React.FC<ICopyCatProps>;
//# sourceMappingURL=CopyCat.d.ts.map