@studiocms/ui
Version:
The UI library for StudioCMS. Includes the layouts & components we use to build StudioCMS.
14 lines (13 loc) • 408 B
TypeScript
import type { IconifyJSON } from '@iconify/types';
export interface ToastProps {
title: string;
/**
* This will get passed to the component as unsanitized HTML. DO NOT PUT USER-GENERATED CONTENT HERE!
*/
description?: string;
type: 'success' | 'warning' | 'danger' | 'info';
duration?: number;
persistent?: boolean;
closeButton?: boolean;
}
export type { IconifyJSON };