import { forwardRef, Ref, useId } from 'react'; import { RtSpinnerProps } from './rt-spinner.types'; import { RtBaseProps, useRtBaseProps } from '@dpa/react-hoc'; import cn from 'classnames'; import styles from './rt-spinner.module.css'; import { RtFrame } from '@dpa/react-frame-intro'; export const RtSpinner = forwardRef(function RtLoader( props: RtSpinnerProps & RtBaseProps, ref: Ref ) { const { width = 'md', height = 'md', size = 'md', specification = 'main', } = props; const id = useId(); const baseProps = useRtBaseProps(props, '0.2.2'); return ( ); }); RtSpinner.displayName = 'RtSpinner';