UNPKG

ui-ingredients

Version:

Headless component library for Svelte powered by zag

9 lines (8 loc) 447 B
import type { HighlightWordProps } from '@zag-js/highlight-word'; import type { Merge } from 'type-fest'; import type { HtmlIngredientProps } from '../types.js'; export interface HighlightProps extends Merge<Omit<HtmlIngredientProps<'div', HTMLDivElement>, 'children'>, HighlightWordProps> { } declare const Highlight: import("svelte").Component<HighlightProps, {}, "ref">; type Highlight = ReturnType<typeof Highlight>; export default Highlight;