@metrifox/react-sdk 0.0.18-beta.1 → 0.0.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/index.cjs +28 -28
- package/dist/index.js +24 -24
- package/dist/styles.css +1 -1
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -145,7 +145,7 @@ import "@metrifox/react-sdk/dist/styles.css"
|
|
|
145
145
|
|
|
146
146
|
> This is required for proper styling of all widgets.
|
|
147
147
|
|
|
148
|
-
####
|
|
148
|
+
#### Widget Styling
|
|
149
149
|
|
|
150
150
|
The SDK accepts an optional `theme` object during initialization. This theme is applied to Widgets and UI elements within them to match your brand styles.
|
|
151
151
|
|
|
@@ -159,6 +159,7 @@ theme?: {
|
|
|
159
159
|
```
|
|
160
160
|
|
|
161
161
|
```ts
|
|
162
|
+
// Customer portal theme configuration
|
|
162
163
|
customerPortalTheme?: {
|
|
163
164
|
tabs?: {
|
|
164
165
|
background?: string
|
|
@@ -407,6 +408,7 @@ const theme = {
|
|
|
407
408
|
metrifoxInit({
|
|
408
409
|
clientKey: "your-client-key",
|
|
409
410
|
theme,
|
|
411
|
+
pricingTableTheme, // deprecated - Moved to `theme.pricingTable`
|
|
410
412
|
})
|
|
411
413
|
```
|
|
412
414
|
|