@mantine/core
Version:
React components library focused on usability, accessibility and developer experience
1 lines • 911 B
Source Map (JSON)
{"version":3,"file":"RadioGroup.context.mjs","sources":["../../../src/components/Radio/RadioGroup.context.ts"],"sourcesContent":["import { createOptionalContext, MantineSize } from '../../core';\n\ninterface RadioGroupContextValue {\n size: MantineSize | undefined;\n value: string;\n onChange: (event: React.ChangeEvent<HTMLInputElement> | string) => void;\n name: string;\n}\n\nexport const [RadioGroupProvider, useRadioGroupContext] =\n createOptionalContext<RadioGroupContextValue>();\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAEY,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,CAAC,CAAkB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAE,CAAoB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAC,GAAG,CAAqB,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA,CAAA;;"}