import { jsx, jsxs } from 'react/jsx-runtime';
import { Flex, VStack, Heading } from '@chakra-ui/react';

const ResultInfo = ({ icon, title, subTitle, extra }) => /* @__PURE__ */ jsx(Flex, { width: "100vw", height: "100vh", alignItems: "center", justifyContent: "center", textAlign: "center", children: /* @__PURE__ */ jsxs(VStack, { spacing: 4, children: [
  icon,
  /* @__PURE__ */ jsx(Heading, { as: "h1", size: "lg", children: title }),
  /* @__PURE__ */ jsx(Heading, { as: "h2", size: "md", children: subTitle }),
  extra
] }) });

export { ResultInfo as default };
//# sourceMappingURL=ResultContent.js.map
