@stanfordspezi/spezi-web-design-system
Version:
Stanford Biodesign Digital Health Spezi Web Design System
21 lines (20 loc) • 603 B
TypeScript
interface NotImplementedToastOptions {
description?: string;
duration?: number;
}
/**
* Displays a standardized "coming soon" toast for features that are not yet implemented.
*
* @example
* ```ts
* notImplementedToast("Export to PDF");
* // Shows: "Coming soon" with description "Export to PDF isn't available yet."
*
* notImplementedToast("Dark mode", {
* description: "We're working on dark mode support.",
* duration: 6000,
* });
* ```
*/
export declare const notImplementedToast: (feature: string, { description, duration }?: NotImplementedToastOptions) => void;
export {};