Gravity
Search…
Message
Messages communicate important information to a user.
1
<Message
2
title='Welcome to Gravity!'
3
text='This is a sample dashboard to get you started'
4
type='success'
5
closable
6
/>
Copied!

Props

prop
description
value
type
message type
info, success, warning or error
title
message title
string
text
message body
string
closable
show a close button that removes the message (optional)
true or false
buttonText
button label (optional)
string
action
callback function executed on button click (optional)
function
Last modified 1yr ago
Copy link
Contents
Props