react-super
Version:
27 lines • 753 B
JavaScript
import React from 'react';
import Portal from "../Portal";
import { jsx as _jsx } from "react/jsx-runtime";
import { jsxs as _jsxs } from "react/jsx-runtime";
export default (function () {
return /*#__PURE__*/_jsx(Portal, {
open: true,
children: /*#__PURE__*/_jsxs("div", {
style: styles,
children: [/*#__PURE__*/_jsx("h3", {
children: "\u6F14\u793A\u6848\u4F8B"
}), /*#__PURE__*/_jsx("p", {
children: "\u6211\u5728\u5168\u5C40\u4E4B\u5916\uFF0C\u6211\u62E5\u6709\u72EC\u7ACB\u7A7A\u95F4 ^ _ ^"
})]
})
});
});
var styles = {
position: 'fixed',
right: '10vh',
bottom: '40vh',
padding: '0 20px',
background: '#5472FF',
boxShadow: '0 0 10px #eee',
color: '#ffffff',
borderRadius: 8
};