{"version":3,"file":"Flowbite.cjs","sources":["../../../../src/components/Flowbite/Flowbite.tsx"],"sourcesContent":["import type { FC } from \"react\";\nimport type { ThemeMode } from \"../../hooks/use-theme-mode\";\nimport { ThemeInit } from \"../../theme-store/init\";\nimport type { CustomFlowbiteTheme } from \"./FlowbiteTheme\";\n\nexport interface ThemeProps {\n  mode?: ThemeMode;\n  theme?: CustomFlowbiteTheme;\n}\n\ninterface FlowbiteProps {\n  children: React.ReactNode;\n  theme?: ThemeProps;\n}\n\nexport const Flowbite: FC<FlowbiteProps> = ({ children, theme }) => {\n  return (\n    <>\n      <ThemeInit mode={theme?.mode} theme={theme?.theme} />\n      {children}\n    </>\n  );\n};\n\nFlowbite.displayName = \"Flowbite\";\n"],"names":["jsxs","Fragment","jsx","ThemeInit"],"mappings":";;;;;AAGY,MAAC,QAAQ,GAAG,CAAC,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK;AACjD,EAAE,uBAAuBA,eAAI,CAACC,mBAAQ,EAAE,EAAE,QAAQ,EAAE;AACpD,oBAAoBC,cAAG,CAACC,eAAS,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,CAAC;AAC9E,IAAI,QAAQ;AACZ,GAAG,EAAE,CAAC,CAAC;AACP,EAAE;AACF,QAAQ,CAAC,WAAW,GAAG,UAAU;;;;"}