@amsterdam/design-system-react
Version:
All React components from the Amsterdam Design System. Use it to compose pages in your website or application.
12 lines (11 loc) • 344 B
JavaScript
/**
* @license EUPL-1.2+
* Copyright Gemeente Amsterdam
*/
import { createContext } from 'react';
const defaultValues = {
// Default value for type safety.
// The actual value is always provided via ProgressList’s required headingLevel prop.
headingLevel: 2,
};
export const ProgressListContext = createContext(defaultValues);