import * as React from "react"; import { css } from "@emotion/react"; const STYLES_EMPTY_STATE = (theme) => css` position: relative; height: 100%; min-height: 50vh; padding: 20px; color: ${theme.semantic.textGray}; background-color: ${theme.semantic.bgLight}; display: flex; align-items: center; justify-content: center; flex-direction: column; text-align: center; `; const STYLES_EMPTY_FRAME = (theme) => css` position: absolute; height: 14px; width: 14px; border-left: 2px solid; border-top: 2px solid; border-color: ${theme.semantic.borderGrayLight4}; @media (max-width: ${theme.sizes.mobile}px) { display: none; } `; export default function EmptyState({ children, css, ...props }) { return (
{children}
); }