UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

18 lines (17 loc) 650 B
import React from 'react'; import type { SpacingProps } from '../../shared/types'; import type { SkeletonShow } from '../skeleton/Skeleton'; type RatingOwnProps = { value?: number; max?: number; variant?: 'stars' | 'progressive'; element?: keyof JSX.IntrinsicElements; srLabel?: React.ReactNode; skeleton?: SkeletonShow; }; export type RatingProps = Omit<React.HTMLProps<HTMLElement>, keyof RatingOwnProps | 'ref'> & RatingOwnProps & SpacingProps; declare function Rating(props: RatingProps): import("react/jsx-runtime").JSX.Element; declare namespace Rating { var _supportsSpacingProps: boolean; } export default Rating;