UNPKG

@confi/conflux-react-ui-test-package

Version:

Modern and minimalist React UI library.

16 lines (14 loc) 610 B
import _JSXStyle from "styled-jsx/style"; import React from 'react'; import Loading from '../loading'; var ButtonLoading = function ButtonLoading(_ref) { var color = _ref.color; return /*#__PURE__*/React.createElement("div", { className: "jsx-3880090443" + " " + "btn-loading" }, /*#__PURE__*/React.createElement(Loading, { color: color }), /*#__PURE__*/React.createElement(_JSXStyle, { id: "3880090443" }, ".btn-loading.jsx-3880090443{position:absolute;top:0;left:0;right:0;bottom:0;z-index:2;background-color:var(--zeit-ui-button-bg);}")); }; export default React.memo(ButtonLoading);