silverwolf-x's picture
download
raw
373 Bytes
import PropTypes from "prop-types";
const ErrorMessage = ({ message }) => (
<aside>
{message}
<style jsx>{`
aside {
padding: 1.5em;
font-size: 14px;
color: white;
background-color: red;
}
`}</style>
</aside>
);
ErrorMessage.propTypes = {
message: PropTypes.string.isRequired,
};
export default ErrorMessage;

Xet Storage Details

Size:
373 Bytes
·
Xet hash:
65aae9a480de26703db64b156834d21c8ee73f0dd94d86ae514d31beab9536f5

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.