import type { HTMLAttributes } from 'react'
import React, { forwardRef } from 'react'
export interface LoaderProps extends HTMLAttributes {
/**
* ID to find this component in testing tools (e.g.: cypress, testing library, and jest).
*/
testId?: string
/**
* Specifies the component color variant.
*/
variant?: 'light' | 'dark'
}
const Loader = forwardRef(function Loader(
{ testId = 'fs-loader', variant = 'dark', ...otherProps }: LoaderProps,
ref
) {
return (
)
})
export default Loader