'use strict';

var tslib_es6 = require('./tslib.es6-2c2ed574.js');
var React = require('react');
var core = require('@mantine/core');
var miscTheme = require('./miscTheme.js');

function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }

var React__default = /*#__PURE__*/_interopDefault(React);

const Indicator = (_a) => {
    var { styles, color = miscTheme.theme.colors.red700 } = _a, props = tslib_es6.__rest(_a, ["styles", "color"]);
    return (React__default["default"].createElement(core.Indicator, Object.assign({ inline: true, position: "top-end", offset: 4, styles: Object.assign({ processing: {
                // FIX: Safari blink
                animationDirection: 'alternate',
            } }, styles), color: color }, props)));
};

exports.Indicator = Indicator;
