diff --git a/pkg/ui/FormattedExcpetion.tsx b/pkg/ui/FormattedExcpetion.tsx new file mode 100644 index 0000000..8f0f998 --- /dev/null +++ b/pkg/ui/FormattedExcpetion.tsx @@ -0,0 +1,17 @@ +import {CardTitle, MarginCard} from "../styled"; +import {FC, PropsWithChildren} from "react"; + +type FormattedExceptionProps = PropsWithChildren<{tileText: string}> + +const FormattedException: FC = ({tileText, children}) => { + return ( + <> + + {tileText} + {children} + + + ) +} + +export default FormattedException; \ No newline at end of file