carbon-components-svelte/types/Notification/NotificationIcon.svelte.d.ts
Enrico Sacchetti ee21257300 feat(notification)!: change InlineNotification props
Add new props: statusIconDescription and closeButtonDescription

BREAKING CHANGE: remove iconDescription prop
2022-12-16 13:57:44 -05:00

34 lines
643 B
TypeScript

/// <reference types="svelte" />
import type { SvelteComponentTyped } from "svelte";
export interface NotificationIconProps {
/**
* Specify the kind of notification icon
* @default "error"
*/
kind?:
| "error"
| "info"
| "info-square"
| "success"
| "warning"
| "warning-alt";
/**
* Set the type of notification
* @default "toast"
*/
notificationType?: "toast" | "inline";
/**
* Specify the ARIA label for the icon
* @default undefined
*/
iconDescription: undefined;
}
export default class NotificationIcon extends SvelteComponentTyped<
NotificationIconProps,
{},
{}
> {}