securityos/components/system/Apps/ComponentError.tsx

21 lines
453 B
TypeScript
Raw Permalink Normal View History

2024-09-06 15:32:35 +00:00
import styled from "styled-components";
const StyledComponentError = styled.div`
background-color: #fff;
color: #000;
display: flex;
font-size: 20px;
height: 100%;
place-content: center;
place-items: center;
width: 100%;
`;
const ERROR_MESSAGE = "Error occured within component.";
const ComponentError: FC = () => (
<StyledComponentError>{ERROR_MESSAGE}</StyledComponentError>
);
export default ComponentError;