UNPKG

webcoreui

Version:

UI component and template library for Astro, Svelte, and React apps styled with Sass.

21 lines (16 loc) 508 B
import type { Snippet } from 'svelte' import type { BadgeProps } from '../Badge/badge' import type { IconProps } from '../Icon/icon' export type CopyProps = { tooltip?: string tooltipPosition?: 'left' | 'right' | 'bottom' | null copyIcon?: IconProps['type'] | string copiedIcon?: IconProps['type'] | string className?: string } & BadgeProps export type SvelteCopyProps = { children: Snippet } & CopyProps export type ReactCopyProps = { children: React.ReactNode } & CopyProps