New to KendoReactStart a free 30-day trial

Represents the props of the KendoReact Notification component.

Definition

Package:@progress/kendo-react-notification

Properties

Sets additional classes to the Notification.

closable?

boolean | DetailedHTMLProps​<AnchorHTMLAttributes​<HTMLAnchorElement>, HTMLAnchorElement>

Sets if the Notification requires a user action to hide. If the property is set to true, the Notification renders a Close button. If the property is set to an object, the Notification renders a Close button by extending the default props with the provided object.

Default:

false

dir?

string

Sets the dir HTML attribute, which determines the text direction.

onClose?

(event: NotificationEvent) => void

Fires when you click the Close button.

Parameters:eventNotificationEvent

style?

CSSProperties

The styles that are applied to the Notification.

type?

{ style?: "base" | "secondary" | "success" | "error" | "inverse" | "primary" | "tertiary" | "warning" | "info" | "none"; icon?: boolean }

Sets the Notification type, which determines its style and icon.

webMcp?

boolean | WebMcpProps

Enables Web MCP tool registration for this component. Requires a parent WebMcpProvider from @progress/kendo-react-webmcp.