Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
get names() {
return Object.values(EmptyState.Illustration.names)
}
])
],
'EmptyState.Heading': [
PropTypes.row([
'as',
null,
null,
<code>h1</code>,
'heading tagName'
])
],
'EmptyState.Illustration': [
PropTypes.row([
'name',
PropTypes.union(EmptyState.Illustration.names),
true,
null,
<span>
the illustration name (from <code>Illustration.names</code>)
</span>
])
]
}}
/>
In-app example
<p>Default full page empty state</p>