blob: ccd9bcffce262d16cd22c1dc3bd1fad0b2e24d4b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
import React from "react";
import styled from "../colorscheme/styled";
const Wrapper = styled.p`
border-top: 1px solid gray;
background-color: ${({ theme }) => theme.consoleInfoBackground};
color: ${({ theme }) => theme.consoleInfoForeground};
font-weight: normal;
`;
const InfoMessage: React.FC = ({ children }) => {
return <Wrapper role="status">{children}</Wrapper>;
};
export default InfoMessage;
|