@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 579 B
Source Map (JSON)
{"version":3,"file":"List.context.mjs","names":[],"sources":["../../../src/components/List/List.context.ts"],"sourcesContent":["import { createSafeContext, GetStylesApi } from '../../core';\nimport type { ListFactory } from './List';\n\nexport interface ListContextValue {\n getStyles: GetStylesApi<ListFactory>;\n center: boolean | undefined;\n icon: React.ReactNode | undefined;\n}\n\nexport const [ListProvider, useListContext] = createSafeContext<ListContextValue>(\n 'List component was not found in tree'\n);\n"],"mappings":";;;AASA,MAAa,CAAC,cAAc,kBAAkB,kBAC5C,uCACD"}