@gravity-ui/uikit
Version:
Gravity UI base styling and components
11 lines (10 loc) • 479 B
JavaScript
import { jsx as _jsx } from "react/jsx-runtime";
import * as React from 'react';
import { block } from "../utils/cn.js";
import "./Spin.css";
const b = block('spin');
export const Spin = React.forwardRef(function Spin(props, ref) {
const { size = 'm', style, className, qa } = props;
return (_jsx("div", { ref: ref, style: style, className: b({ size }, className), "data-qa": qa, children: _jsx("div", { className: b('inner') }) }));
});
//# sourceMappingURL=Spin.js.map