@wordpress/components
Version:
UI components for WordPress.
1 lines • 578 B
Source Map (JSON)
{"version":3,"file":"context.cjs","names":["createContext"],"sources":["../../src/radio-group/context.tsx"],"sourcesContent":["import type * as Ariakit from '@ariakit/react';\nimport { createContext } from '@wordpress/element';\n\nexport const RadioGroupContext = createContext< {\n\tstore?: Ariakit.RadioStore;\n\tdisabled?: boolean;\n} >( {\n\tstore: undefined,\n\tdisabled: undefined,\n} );\nRadioGroupContext.displayName = 'RadioGroupContext';\n"],"mappings":";;;;;;AAGA,MAAa,qBAAA,G,4BAAoBA,CAAAA,CAAAA,cAAAA,CAG5B;CACJ,OAAO,KAAA;CACP,UAAU,KAAA;AACX,CAAE;AACF,kBAAkB,cAAc"}