@veracity/vui
Version:
Veracity UI is a React component library crafted for use within Veracity applications and pages. Based on Styled Components and @xstyled.
29 lines (28 loc) • 944 B
TypeScript
import { ThemingProps } from "../theme/types.js";
import "../theme/index.js";
import { SystemProps } from "../system/system.js";
import "../system/index.js";
import { IconProp } from "../icon/icon.types.js";
import "../icon/index.js";
//#region src/copyToClipboard/copyToClipboard.types.d.ts
type CopyToClipboardValueProps = {
/** Text string to copy and include in feedback labels. */
label: string;
/** @deprecated Use `label` instead. */
copyText?: string;
} | {
label?: never;
/** @deprecated Use `label` instead. */
copyText: string;
};
type CopyToClipboardProps = SystemProps & ThemingProps<'Button'> & CopyToClipboardValueProps & {
/** Icon @default uiCopy */
icon?: IconProp;
/** Button size @default "sm" */
size?: 'sm' | 'md' | 'lg';
/** Whether to show the tooltip @default true */
showTooltip?: boolean;
};
//#endregion
export { CopyToClipboardProps };
//# sourceMappingURL=copyToClipboard.types.d.ts.map