Renders a contextual feedback message Takes optional children which will be hidden by default. If the child is only a string, it will be wrapped in a <p> element.
<p>
Optional
<MessageBar type="error" title="An error has occurred" onClose={onCloseHandler} /> Copy
<MessageBar type="error" title="An error has occurred" onClose={onCloseHandler} />
Generated using TypeDoc
Renders a contextual feedback message Takes optional children which will be hidden by default. If the child is only a string, it will be wrapped in a
<p>
element.