{"version":3,"sources":["../src/components/InfoLabel/InfoButton/renderInfoButton.tsx"],"sourcesContent":["/** @jsxRuntime automatic */\n/** @jsxImportSource @fluentui/react-jsx-runtime */\n\nimport { assertSlots } from '@fluentui/react-utilities';\nimport type { JSXElement } from '@fluentui/react-utilities';\nimport { PopoverTrigger } from '../../Popover';\nimport type { InfoButtonState, InfoButtonSlots } from './InfoButton.types';\n\n/**\n * Render the final JSX of InfoButton\n */\nexport const renderInfoButton = (state: InfoButtonState): JSXElement => {\n  assertSlots<InfoButtonSlots>(state);\n\n  return (\n    <state.popover>\n      <PopoverTrigger>\n        <state.root />\n      </PopoverTrigger>\n      <state.info />\n    </state.popover>\n  );\n};\n"],"names":["renderInfoButton","state","assertSlots","popover","PopoverTrigger","root","info"],"mappings":"AAAA,0BAA0B,GAC1B,iDAAiD;;;;+BAUpCA;;;eAAAA;;;;gCARe;yBAEG;AAMxB,MAAMA,mBAAmB,CAACC;IAC/BC,IAAAA,2BAAW,EAAkBD;IAE7B,qBACE,sBAACA,MAAME,OAAO;;0BACZ,qBAACC,uBAAc;0BACb,cAAA,qBAACH,MAAMI,IAAI;;0BAEb,qBAACJ,MAAMK,IAAI;;;AAGjB"}