-
In my typescript plugin, I used CustomizationProvider exactly as described in this documentation: Customization Provider - Paste: The Design System for building Twilio customer experiences Specifically, I used this code:
And provided an empty theme object (for testing) in theme.json that matches the structure described in the documentation:
However, the theme prop is reporting an error which prevents the plugin from compiling: |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @WillCKyle, Looks like we have a small typo on our docs, woops! Fortunately it's an easy fix for you: replace Here's a codesandbox showing it works correctly now: https://codesandbox.io/s/paste-customization-provider-sample-sj83mp |
Beta Was this translation helpful? Give feedback.
Hi @WillCKyle,
Looks like we have a small typo on our docs, woops! Fortunately it's an easy fix for you: replace
baseTheme="Default"
withbaseTheme="default"
. The baseTheme value has to be all lowercase. We will fix it on our docs shortly.Here's a codesandbox showing it works correctly now: https://codesandbox.io/s/paste-customization-provider-sample-sj83mp