/
opt
/
canhelp
/
node_modules
/
next
/
dist
/
next-devtools
/
dev-overlay
/
components
/
copy-button
/
/opt/canhelp/node_modules/next/dist/next-devtools/dev-overlay/components/copy-button
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
980
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/next/dist/next-devtools/dev-overlay/components/copy-button/index.d.ts
(980B)
import * as React from 'react'; type CopyButtonProps = React.HTMLProps<HTMLButtonElement> & { actionLabel: string; successLabel: string; icon?: React.ReactNode; }; export declare function CopyButton(props: CopyButtonProps & { content?: string; getContent?: () => string; }): import("react/jsx-runtime").JSX.Element; export declare const COPY_BUTTON_STYLES = "\n .nextjs-data-copy-button {\n color: inherit;\n\n svg {\n width: var(--size-16);\n height: var(--size-16);\n }\n }\n .nextjs-data-copy-button:disabled {\n background-color: var(--color-gray-100);\n cursor: not-allowed;\n }\n .nextjs-data-copy-button--initial:hover:not(:disabled) {\n cursor: pointer;\n }\n .nextjs-data-copy-button--error:not(:disabled),\n .nextjs-data-copy-button--error:hover:not(:disabled) {\n color: var(--color-ansi-red);\n }\n .nextjs-data-copy-button--success:not(:disabled) {\n color: var(--color-ansi-green);\n }\n"; export {};
Save
cmd:
run