webcoreui
Version:
UI component and template library for Astro, Svelte, and React apps styled with Sass.
11 lines (9 loc) • 354 B
text/typescript
import type { BadgeProps } from '../Badge/badge'
import type { IconProps } from '../Icon/icon'
export type CopyProps<T extends object = object> = {
tooltip?: string
tooltipPosition?: 'left' | 'right' | 'bottom' | null
copyIcon?: IconProps['type'] | string
copiedIcon?: IconProps['type'] | string
className?: string
} & BadgeProps<T>