{"version":3,"sources":["../src/components/Dropdown/OptionGroup/useOptionGroup.ts"],"sourcesContent":["'use client';\n\nimport type * as React from 'react';\nimport { useOptionGroup_unstable } from '@fluentui/react-combobox';\n\nimport type { OptionGroupProps, OptionGroupState } from './OptionGroup.types';\n\n/**\n * Returns the state for an OptionGroup component, given its props and ref.\n * The returned state can be modified with hooks before being passed to `renderOptionGroup`.\n */\nexport const useOptionGroup = (props: OptionGroupProps, ref: React.Ref<HTMLElement>): OptionGroupState => {\n  'use no memo'; // justified: compiler would optimize useOptionGroup — manual opt-out to preserve runtime behavior\n\n  return useOptionGroup_unstable(props, ref);\n};\n"],"names":["useOptionGroup","props","ref","useOptionGroup_unstable"],"mappings":"AAAA;;;;;+BAWaA;;;eAAAA;;;+BAR2B;AAQjC,MAAMA,iBAAiB,CAACC,OAAyBC;IACtD,eAAe,kGAAkG;IAEjH,OAAOC,IAAAA,sCAAuB,EAACF,OAAOC;AACxC"}