SectionMessage
Use a Section Message to inform of the status of a section or a group of items.
Section Messages can't be dismissed by the user. Remove them once the situation has been resolved or the user has taken the appropriate action.
Usage
import { SectionMessage } from 'nr1';Examples
Types
<Stack  directionType={Stack.DIRECTION_TYPE.VERTICAL}  horizontalType={Stack.HORIZONTAL_TYPE.FILL}>  <StackItem>    <SectionMessage      description="Your Metric query has been transformed into a compatible query with the previous Infrastructure metric format."      actions={[{ label: 'See our docs', to: 'https://support.newrelic.com/' }]}    />  </StackItem>  <StackItem>    <SectionMessage      type={SectionMessage.TYPE.SUCCESS}      title="File has been uploaded"      description="We are unable to save any progress at this time."      actions={[        { label: 'Primary action', onClick: console.log },        { label: 'Secondary action', onClick: console.log },      ]}    />  </StackItem>  <StackItem>    <SectionMessage      type={SectionMessage.TYPE.WARNING}      title="Cannot connect to the database"      description="We are unable to save any progress at this time."      actions={[        { label: 'Primary action', onClick: console.log },        { label: 'Secondary action', onClick: console.log },      ]}    />  </StackItem>  <StackItem>    <SectionMessage      type={SectionMessage.TYPE.CRITICAL}      title="Error on the request"      description="We tried to transform your query into a query that is compatible with both new Metric and previous Infrastructure metric formats, but the transformation process failed."      actions={[        { label: 'Contact support', to: 'https://support.newrelic.com/' },      ]}    />  </StackItem></Stack>;Props
 shape[] | You may use up to two actions to help the user navigate to another view, trigger background events, or change the nerdlet/section behavior. shape 
 string
 REQUIREDstring
 functionCallback fired any time the user clicks on the button. function (
 shape|stringLocation object or url string to link to. shape 
 REQUIREDstring
 string
 string | 
 string | Appends class names to the component.Should be used only for positioning and spacing purposes.  | 
 string | Use it to provide further details and explain, if any, the steps for the user to take. Note:   | 
 object | Inline style for custom styling.Should be used only for positioning and spacing purposes.  | 
 string | Adds a  Note: You might not see   | 
 string | Use it to provide the main message.Note:   | 
 enum | Type can be: 
  |