@mattilsynet/designsystem-svelte
Version:
Design system for Mattilsynet
11 lines (10 loc) • 333 B
TypeScript
import type { Snippet } from 'svelte';
export type AlertProps = {
'data-color'?: 'info' | 'success' | 'warning' | 'danger';
class?: string;
children?: Snippet;
[key: string]: unknown;
};
declare const Alert: import("svelte").Component<AlertProps, {}, "">;
type Alert = ReturnType<typeof Alert>;
export default Alert;