We do not give users access to the to prop on the <Button /> component in the <EmptyState /> component, this makes it difficult for users to make that button link to a url.
Desired Behaviour
When you want the button to navigate to a URL, you should just be able to say something like <EmptyState buttonUrl="http://google.com/" />.
Possible Solution
Just add buttonUrl prop onto the <EmptyState /> component.
Summary
We do not give users access to the
to
prop on the<Button />
component in the<EmptyState />
component, this makes it difficult for users to make that button link to a url.Desired Behaviour
When you want the button to navigate to a URL, you should just be able to say something like
<EmptyState buttonUrl="http://google.com/" />
.Possible Solution
Just add
buttonUrl
prop onto the<EmptyState />
component.