<ComponentryProvider />

ComponentryProvider is a React context provider component used to customize the theme value returned by useTheme().

Usage

import { ComponentryProvider, createTheme } from 'componentry' // Create your application theme const theme = createTheme() // Create your component default prop overrides const componentOverrides = { Button: { variant: 'outlined' } } // Connect all components using context provider <ComponentryProvider theme={theme} components={componentOverrides}> <App /> </ComponentryProvider>