Socket
Book a DemoInstallSign in
Socket

@twilio-paste/customization

Package Overview
Dependencies
Maintainers
4
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@twilio-paste/customization

The Customization Provider provides functionality to change token values and the style of Paste components.

npmnpm
Version
9.0.0
Version published
Weekly downloads
13K
2.08%
Maintainers
4
Weekly downloads
 
Created
Source

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>

FAQs

Package last updated on 19 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts