{"version":3,"sources":["../src/components/Rating/RatingItem/useRatingItem.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { useRatingItemBase_unstable } from '@fluentui/react-rating';\n\nimport type { RatingItemProps, RatingItemState } from './RatingItem.types';\n\n/**\n * Returns the state for a RatingItem component, given its props and ref.\n * The returned state can be modified with hooks before being passed to `renderRatingItem`.\n */\nexport const useRatingItem = (props: RatingItemProps, ref: React.Ref<HTMLSpanElement>): RatingItemState => {\n  const state = useRatingItemBase_unstable(props, ref);\n\n  return state;\n};\n"],"names":["useRatingItem","props","ref","state","useRatingItemBase_unstable"],"mappings":"AAAA;;;;;+BAWaA;;;eAAAA;;;6BAR8B;AAQpC,MAAMA,gBAAgB,CAACC,OAAwBC;IACpD,MAAMC,QAAQC,IAAAA,uCAA0B,EAACH,OAAOC;IAEhD,OAAOC;AACT"}