import { forwardRef } from 'react' import Block from '../Primitives/Block/Block' import { SingleSelectV2SkeletonProps } from './singleSelectV2.types' import { SingleSelectV2TokensType } from './singleSelectV2.tokens' import { Skeleton, SkeletonVariant } from '../Skeleton' export type SingleSelectV2SkeletonComponentProps = { singleSelectTokens: SingleSelectV2TokensType skeleton: SingleSelectV2SkeletonProps } const SingleSelectV2Skeleton = forwardRef< HTMLDivElement, SingleSelectV2SkeletonComponentProps >(({ singleSelectTokens, skeleton }, ref) => { return ( {Array.from({ length: skeleton.count || 3 }).map((_, index) => ( ))} ) }) SingleSelectV2Skeleton.displayName = 'SingleSelectV2Skeleton' export default SingleSelectV2Skeleton