UNPKG

@farango/calendar_library

Version:

The **Event Calendar** is a simple and responsive React component that displays a **monthly calendar** with support for events. This component is built with React and SCSS and can be easily integrated into your React applications.

24 lines (23 loc) 694 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports["default"] = Loading; var _react = _interopRequireDefault(require("react")); var _antd = require("antd"); var _icons = require("@ant-design/icons"); function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; } function Loading(_ref) { var isLoading = _ref.isLoading, children = _ref.children; var antIcon = /*#__PURE__*/_react["default"].createElement(_icons.LoadingOutlined, { style: { fontSize: 24 }, spin: true }); return /*#__PURE__*/_react["default"].createElement(_antd.Spin, { indicator: antIcon, spinning: isLoading }, children); }