Closed
Description
As a developer, I want to avoid console log errors so I can see important logs easily and I know my components aren't doing anything dangerous.
EmptyState
takes a message that gets rendered in a p
, but the message sometimes contains a div
, which creates an error if rendered inside a p
.
Rather than try to restrict ourselves to p
messages, I think we should just change EmptyState
. This entails:
- element change
- maintaining the styles even though it won't be an h5 anymore
- adding
EmptyState
to Storybook