mirror of
https://github.com/hanzoai/sentinel.git
synced 2026-10-30 14:49:14 +00:00
22 lines
464 B
TypeScript
22 lines
464 B
TypeScript
import EmptyStateWarning from 'sentry/components/emptyStateWarning';
|
|
import Panel from 'sentry/components/panels/panel';
|
|
import PanelBody from 'sentry/components/panels/panelBody';
|
|
|
|
type Props = {
|
|
children: React.ReactNode;
|
|
};
|
|
|
|
function EmptyState({children}: Props) {
|
|
return (
|
|
<Panel>
|
|
<PanelBody>
|
|
<EmptyStateWarning>
|
|
<p>{children}</p>
|
|
</EmptyStateWarning>
|
|
</PanelBody>
|
|
</Panel>
|
|
);
|
|
}
|
|
|
|
export default EmptyState;
|