{"version":3,"file":"Drawer.context.mjs","names":[],"sources":["../../../src/components/Drawer/Drawer.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi, MantineRadius } from '../../core';\nimport type { DrawerRootFactory } from './DrawerRoot';\n\nexport type ScrollAreaComponent = React.FC<any>;\n\nexport interface DrawerContextValue {\n  scrollAreaComponent: ScrollAreaComponent | undefined;\n  getStyles: GetStylesApi<DrawerRootFactory>;\n  radius: MantineRadius | undefined;\n}\n\nexport const [DrawerProvider, useDrawerContext] = createSafeContext<DrawerContextValue>(\n  'Drawer component was not found in tree'\n);\n"],"mappings":";;;AAWA,MAAa,CAAC,gBAAgB,oBAAoB,kBAChD,yCACD"}