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, placement = "bottom", ...props }) { const { brightBackground } = useCommonStyles(); let content = ( {children || ( <> We're working on this page! WIP! )} ); if (details) { content = ( {details}} placement={placement} shouldWrapChildren > {content} ); } return content; } export default WIPCallout;