@seasketch/geoprocessing
Version:
Geoprocessing and reporting framework for SeaSketch 2.0
8 lines • 578 B
JavaScript
import React from "react";
import { ExclamationCircleFill } from "@styled-icons/bootstrap";
export const ErrorStatus = ({ msg, size = 36, style = {}, }) => {
return (React.createElement("div", { style: { display: "flex", alignItems: "center" }, "aria-label": "Error", role: "status" },
React.createElement(ExclamationCircleFill, { size: size, style: { color: "#ea4848", paddingRight: 10, flexShrink: 0, ...style }, "aria-label": "Error icon" }),
React.createElement("div", { "aria-label": "Error message" }, msg)));
};
//# sourceMappingURL=ErrorStatus.js.map