UNPKG

metadata-based-explorer1

Version:
46 lines (35 loc) 849 B
### Description Static div displaying a message to the user. ### Examples **Warning** ``` <div style={ { width: '50%' } }> <InlineNotice type="warning"> This is a warning notification. You might want to pay attention to this. </InlineNotice> </div> ``` **Error** ``` <div style={ { width: '50%' } }> <InlineNotice type="error"> This is an error notification. You really want to pay attention to this. </InlineNotice> </div> ``` **Success** ``` <div style={ { width: '50%' } }> <InlineNotice type="success"> This is a success notification. You ought to feel really good about this. </InlineNotice> </div> ``` **Info** ``` <div style={ { width: '50%' } }> <InlineNotice type="info"> This is an info notification. You'll just want to notice this. </InlineNotice> </div> ```