import React, {PropsWithChildren, ReactNode} from 'react' import {Card, Stack, Heading, Box} from '@sanity/ui' import {styled} from 'styled-components' const Root = styled(Card)` display: flex; flex-direction: column; justify-content: stretch; height: 100%; ` export type NotFoundWidgetProps = PropsWithChildren<{ title?: ReactNode }> export function NotFoundWidget(props: NotFoundWidgetProps) { const {title, children} = props return ( {title && ( {title} )} {children && {children}} ) }