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