UNPKG

@storybook/design-system

Version:
23 lines 815 B
import React from 'react'; interface ClipboardProps { children: React.ReactNode | ((copied: boolean) => React.ReactNode); toCopy?: string; getCopyContent?: () => string; copyOptions?: any; renderCopiedTooltip?: () => React.ReactNode; renderUncopiedTooltip?: () => React.ReactNode; resetTimeout?: number; } export declare const Clipboard: { ({ children, toCopy, getCopyContent, copyOptions, resetTimeout, renderCopiedTooltip, renderUncopiedTooltip, ...props }: ClipboardProps): JSX.Element; defaultProps: { copyOptions: any; renderCopiedTooltip: () => JSX.Element; renderUncopiedTooltip: () => JSX.Element; resetTimeout: number; toCopy: any; getCopyContent: () => string; }; }; export {}; //# sourceMappingURL=Clipboard.d.ts.map