mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-14 18:01:06 +00:00
* chore(deps-dev): upgrade sveld to v0.10.2 * feat(types): regenerate types using sveld@0.10.2 * fix(types): update @extends to use .svelte extension
34 lines
627 B
TypeScript
34 lines
627 B
TypeScript
/// <reference types="svelte" />
|
|
import { SvelteComponentTyped } from "svelte";
|
|
|
|
export interface NotificationTextDetailsProps {
|
|
/**
|
|
* Set the type of notification
|
|
* @default "toast"
|
|
*/
|
|
notificationType?: "toast" | "inline";
|
|
|
|
/**
|
|
* Specify the title text
|
|
* @default "Title"
|
|
*/
|
|
title?: string;
|
|
|
|
/**
|
|
* Specify the subtitle text
|
|
* @default ""
|
|
*/
|
|
subtitle?: string;
|
|
|
|
/**
|
|
* Specify the caption text
|
|
* @default "Caption"
|
|
*/
|
|
caption?: string;
|
|
}
|
|
|
|
export default class NotificationTextDetails extends SvelteComponentTyped<
|
|
NotificationTextDetailsProps,
|
|
{},
|
|
{ default: {} }
|
|
> {}
|