ui-ingredients
Version:
Headless component library for Svelte powered by zag
9 lines (8 loc) • 361 B
TypeScript
import type { HTMLAttributes } from 'svelte/elements';
export interface CreateAlertReturn {
getRootProps(): HTMLAttributes<HTMLElement>;
getTitleProps(): HTMLAttributes<HTMLElement>;
getDescriptionProps(): HTMLAttributes<HTMLElement>;
getIndicatorProps(): HTMLAttributes<HTMLElement>;
}
export declare function createAlert(): CreateAlertReturn;