UNPKG

@zag-js/svelte

Version:

The svelte wrapper for zag

8 lines (7 loc) 404 B
import type { SvelteHTMLElements, HTMLAttributes } from "svelte/elements"; export type PropTypes = SvelteHTMLElements & { element: HTMLAttributes<HTMLElement>; style?: HTMLAttributes<HTMLElement>["style"] | undefined; }; export declare function toStyleString(style: Record<string, number | string>): string; export declare const normalizeProps: import("@zag-js/types").NormalizeProps<PropTypes>;