UNPKG

@amsterdam/design-system-react

Version:

All React components from the Amsterdam Design System. Use it to compose pages in your website or application.

13 lines (12 loc) 368 B
/** * @license EUPL-1.2+ * Copyright Gemeente Amsterdam */ import { createContext } from 'react'; const defaultValues = { // Level 2 is set here, but it is never used. // headingLevel is a required prop in Accordion, which always overwrites it. headingLevel: 2, }; const AccordionContext = createContext(defaultValues); export default AccordionContext;