import React from "react";
import * as styles from "./styles";
import { Text } from "~/components/deprecated";
const ErrorFallback = ({ error }) => (React.createElement("div", { className: styles.container, "data-testid": "error-fallback" },
    React.createElement(Text, { variant: "h4" }, "An error occurred"),
    React.createElement(Text, { variant: "p", color: "--ll-color-on-background-variant1" }, error.message)));
export default ErrorFallback;
//# sourceMappingURL=index.js.map