• What is KendoReact
  • Getting Started
  • Server Components
  • Components
    • Animation
    • Barcodes
    • Buttons
    • Chartsupdated
    • Common Utilities
    • Conversational UIupdated
    • Data Gridupdated
    • Data Query
    • Data Tools
    • Date Inputs
    • Date Math
    • Dialogs
    • Drawing
    • Dropdownsupdated
    • Editor
    • Excel Export
    • File Saver
    • Formupdated
    • Ganttupdated
    • Gauges
    • Indicators
    • Inputsupdated
    • Labels
    • Layoutupdated
    • ListBoxupdated
    • ListView
    • Map
    • Notification
    • OrgChartnew
    • PDF Processing
    • PDFViewer
    • PivotGrid
    • Popup
    • Progress Bars
    • Ripple
    • Scheduler
    • ScrollView
    • Sortable
    • Spreadsheetupdated
    • TaskBoard
    • Tooltips
    • TreeList
    • TreeViewupdated
    • Upload
  • Sample Applications
  • Styling & Themes
  • Common Features
  • Project Setup
  • Knowledge Base
  • Changelog
  • Updates
  • Troubleshooting

NotificationProps

Represents the props of the KendoReact Notification component.

NameTypeDefaultDescription

className?

string

Sets additional classes to the Notification.

closable?

boolean | DetailedHTMLProps<AnchorHTMLAttributes<HTMLAnchorElement>>

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

The possible values are:

  • (Default) false
  • true
  • { title: 'Hide', ... }

dir?

string

The dir HTML attribute.

onClose?

(event: NotificationEvent) => void

The close event which will be triggered when the Close button is clicked.

style?

React.CSSProperties

The styles that are applied to the Notification.

type?

{ icon?: boolean; style?: "none" | "info" | "success" | "warning" | "error"; }

The Notification type (see example).

The possible values are:

  • style: 'none'|'success'|'error'|'warning'|'info'. Defaults to none.
  • icon?: 'true'|'false'. Defaults to true.

In this article

Not finding the help you need?