UNPKG

@chayns-components/core

Version:

A set of beautiful React components for developing your own applications with chayns.

17 lines 670 B
import React from 'react'; import { StyledWaitCursor, StyledWaitCursorBackground, StyledWaitCursorWaitCursor } from './WaitCursor.styles'; const WaitCursor = _ref => { let { color, shouldHideBackground = false, shouldHideWaitCursor = false } = _ref; return /*#__PURE__*/React.createElement(StyledWaitCursor, { $shouldShowWaitCursor: !shouldHideWaitCursor }, /*#__PURE__*/React.createElement(StyledWaitCursorWaitCursor, { $color: color }), !shouldHideBackground && /*#__PURE__*/React.createElement(StyledWaitCursorBackground, null)); }; WaitCursor.displayName = 'WaitCursor'; export default WaitCursor; //# sourceMappingURL=WaitCursor.js.map