{"version":3,"sources":["../src/components/Dropdown/Option/Option.tsx"],"sourcesContent":["'use client';\n\nimport * as React from 'react';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\n\nimport { useOption } from './useOption';\nimport { renderOption } from './renderOption';\nimport type { OptionProps } from './Option.types';\n\n/**\n * Option component used inside Listbox.\n */\nexport const Option: ForwardRefComponent<OptionProps> = React.forwardRef((props, ref) => {\n  const state = useOption(props, ref);\n\n  return renderOption(state);\n});\n\nOption.displayName = 'Option';\n"],"names":["Option","React","forwardRef","props","ref","state","useOption","renderOption","displayName"],"mappings":"AAAA;;;;;+BAYaA;;;eAAAA;;;;iEAVU;2BAGG;8BACG;AAMtB,MAAMA,uBAA2CC,OAAMC,UAAU,CAAC,CAACC,OAAOC;IAC/E,MAAMC,QAAQC,IAAAA,oBAAS,EAACH,OAAOC;IAE/B,OAAOG,IAAAA,0BAAY,EAACF;AACtB;AAEAL,OAAOQ,WAAW,GAAG"}