Last updated 1 year ago
Was this helpful?
Blank slate messages are used when there is no data to display and prompts the user to take action.
<BlankSlateMessage title='No items found' text='Would you like to create one?' buttonText='Create Item' action={ createItem } />
action
callback executed on click
optional
function
buttonText
button label
string
text
message text
title
To centre the blank slate in the view, pass the justify prop to the parent component.
justify