dumi-theme-nocobase
Version:
<h1 align="center">dumi-theme-nocobase</h1>
17 lines • 587 B
JavaScript
import _extends from "@babel/runtime/helpers/esm/extends";
import _objectWithoutProperties from "@babel/runtime/helpers/esm/objectWithoutProperties";
var _excluded = ["children"];
import { Alert as AntdAlert } from 'antd';
import { jsx as ___EmotionJSX } from "@emotion/react";
var Alert = function Alert(props) {
var children = props.children,
restProps = _objectWithoutProperties(props, _excluded);
return ___EmotionJSX(AntdAlert, _extends({
style: {
margin: '12px 0',
padding: '10px 40px'
},
message: children
}, restProps));
};
export default Alert;