NotificationProps
Represents the props of the KendoReact Notification component.
Definition
Package:@progress/kendo-react-notification
Properties
className?
string
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.
false
dir?
string
Sets the dir HTML attribute, which determines the text direction.
hideAfter?
number
Specifies the time in milliseconds after which the Notification automatically closes.
5000
onClose?
(event: NotificationEvent) => void
Fires when you click the Close button or when the hideAfter timeout expires.
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.