import * as React from 'react'; import { Rating, RatingSize } from '@fluentui/react'; const getRatingComponentAriaLabel = (label: string) => (rating: number, maxRating: number): string => { return `${label} rating value is ${rating} of ${maxRating}`; }; export const RatingBasicExample: React.FunctionComponent = () => { return (
Large stars: Small stars, with 0 stars allowed: 10 small stars: Disabled: Half star in readOnly mode: Custom icons:
); };