export interface ICopyProps { /** * a fill color for the svg of the copy icon */ color?: string; /** * an amount of milliseconds until the copied state of the component will revert * @default 3000 */ revertIn?: number; /** * Sets the size of the copy icon * @default 12 */ size?: number; /** * The string to display and copy to the users clipboard */ text: string | number; /** * Optional onCopy event to override default behavior */ onCopy?: () => void; /** * Optional className to add to the component * */ className?: string; } export type TCopiedValue = string | null; export type TCopyFn = (text: string) => Promise; //# sourceMappingURL=types.d.ts.map