@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 693 B
Source Map (JSON)
{"version":3,"file":"EmptyState.context.cjs","names":["createSafeContext"],"sources":["../../../src/components/EmptyState/EmptyState.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi } from '../../core';\nimport type { EmptyStateFactory } from './EmptyState';\n\ninterface EmptyStateContextValue {\n getStyles: GetStylesApi<EmptyStateFactory>;\n withIndicatorBackground: boolean | undefined;\n}\n\nexport const [EmptyStateProvider, useEmptyStateContext] = createSafeContext<EmptyStateContextValue>(\n 'EmptyState component was not found in tree'\n);\n\nexport type { EmptyStateContextValue };\n"],"mappings":";;AAQA,MAAa,CAAC,oBAAoB,8FAAwBA,CAAAA,CAAAA,kBACxD,4CACF"}