import React from "react"; import { Box, Flex, Tooltip } from "@chakra-ui/react"; import { useCommonStyles } from "../util"; import WIPXweeImg from "../images/wip-xwee.png"; import WIPXweeImg2x from "../images/wip-xwee@2x.png"; function WIPCallout({ children, details, size = "md", placement = "bottom", ...props }) { const { brightBackground } = useCommonStyles(); let content = ( {children || ( <> We're working on this page! WIP! )} ); if (details) { content = ( {details}} placement={placement} shouldWrapChildren > {content} ); } content = {content}; return content; } export default WIPCallout;