UNPKG

@chakra-ui/core

Version:

Responsive and accessible React UI components built with React and Emotion

13 lines (10 loc) 259 B
interface IClipboard<T> { value?: T; onCopy?: () => void; hasCopied?: boolean; } /** * `useClipboard` is a custom hook to handle copying content to clipboard */ declare function useClipboard<T>(value: T): IClipboard<T>; export default useClipboard;