claritykit-svelte
Version:
A comprehensive Svelte component library focused on accessibility, ADHD-optimized design, developer experience, and full SSR compatibility
18 lines • 522 B
TypeScript
export type AlertBannerType = 'success' | 'error' | 'warning' | 'info';
export type AlertBannerSize = 'sm' | 'md' | 'lg';
export interface AlertBannerAction {
text: string;
href?: string;
onClick?: () => void;
variant?: 'primary' | 'secondary';
}
export interface AlertBannerOptions {
type?: AlertBannerType;
title?: string;
message?: string;
size?: AlertBannerSize;
dismissible?: boolean;
showIcon?: boolean;
actions?: AlertBannerAction[];
}
//# sourceMappingURL=types.d.ts.map