/** @jsxImportSource @emotion/react */ import { css } from '@emotion/react'; import { hex2rgb } from '../helpers'; export interface RcSpinCircleProps { size?: string; color?: string; thickness?: string; time?: string; } export const RcSpinCircle: React.FC = ({ size = '64px', color = '#236cd2', thickness = '6px', time = '0.6s', }) => { const len = `calc(${size} - ${thickness} * 2)`; const { r, g, b } = hex2rgb(color); return (
); };