Notice

Notice

Source:
Tutorials:
  • Tutorial: - https://developer.microsoft.com/en-us/fluentui#/controls/web/dialog
Properties:
Name Type Default Description
okayText? string Confirm

Text to show in the primary button.

cancelText? string Cancel

Text to show in the secondary button.

okayFunc function

Function to execute when the primary button is clicked.

cancelFunc function

Function to execute when the secondary button is clicked.

hideDialog boolean

Boolean to determine if the dialog should be shown.

messageText string

Text to show as the main message.

setHideDialog function

Function used to set the hideDialog boolean.

title string

Text to show as the title of the notice.

  • Generic notice component to display messages to the end user.