mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 19:46:36 +00:00
fix(notification): remove notificationType prop
This commit is contained in:
parent
abb19ca10c
commit
ca1208f6cb
6 changed files with 25 additions and 77 deletions
6
types/Notification/InlineNotification.d.ts
vendored
6
types/Notification/InlineNotification.d.ts
vendored
|
@ -1,12 +1,6 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface InlineNotificationProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set the type of notification
|
||||
* @default "inline"
|
||||
*/
|
||||
notificationType?: "toast" | "inline";
|
||||
|
||||
/**
|
||||
* Specify the kind of notification
|
||||
* @default "error"
|
||||
|
|
6
types/Notification/ToastNotification.d.ts
vendored
6
types/Notification/ToastNotification.d.ts
vendored
|
@ -1,12 +1,6 @@
|
|||
/// <reference types="svelte" />
|
||||
|
||||
export interface ToastNotificationProps extends svelte.JSX.HTMLAttributes<HTMLElementTagNameMap["div"]> {
|
||||
/**
|
||||
* Set the type of notification
|
||||
* @default "toast"
|
||||
*/
|
||||
notificationType?: "toast" | "inline";
|
||||
|
||||
/**
|
||||
* Specify the kind of notification
|
||||
* @default "error"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue