watercolor-ui
Version:
A modern minimalist cross-framework component library
19 lines • 785 B
TypeScript
export function Copy({ text, variant, size, showLabel, showTooltip, copyLabel, copiedLabel, tooltipSuccess, tooltipError, resetDelay, onCopy, onError, className, children, icon: Icon, }: {
text: any;
variant?: string | undefined;
size?: string | undefined;
showLabel?: boolean | undefined;
showTooltip?: boolean | undefined;
copyLabel?: string | undefined;
copiedLabel?: string | undefined;
tooltipSuccess?: string | undefined;
tooltipError?: string | undefined;
resetDelay?: number | undefined;
onCopy?: (() => void) | undefined;
onError?: (() => void) | undefined;
className?: string | undefined;
children: any;
icon: any;
}): import("react/jsx-runtime").JSX.Element;
export default Copy;
//# sourceMappingURL=Copy.d.ts.map