@twilio-paste/customization
TypeScript icon, indicating that this package has built-in type declarations

8.2.0 • Public • Published

Customization

The Paste CustomizationProvider leverages React's Context to provide the theme object to any descendant components in the tree. For that reason, we recommend wrapping your application at the root level with the Paste CustomizationProvider. This allows all sub-components to retrieve the correct token value for the supplied theme.

import {CustomizationProvider} from '@twilio-paste/customization';

<CustomizationProvider theme={{}}>
  <App />
</CustomizationProvider>

Readme

Keywords

none

Package Sidebar

Install

npm i @twilio-paste/customization

Weekly Downloads

18,383

Version

8.2.0

License

MIT

Unpacked Size

166 kB

Total Files

25

Last publish

Collaborators

  • thesisb
  • sitaggart
  • dkundel
  • pastebot