Skip to content

Commit 768a37a

Browse files
authored
update widgets showcase docs (#889)
* update widgets showcase docs * update overview * fix lint
1 parent d55ecac commit 768a37a

File tree

41 files changed

+7951
-3191
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+7951
-3191
lines changed

packages/ringcentral-widgets-docs/buildComponentDocPages.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ function getComponentDocRenderData(componentData) {
119119
if (component.props.currentLocale) {
120120
component.props.currentLocale = "'en-US'";
121121
}
122+
if (component.props.countryCode) {
123+
component.props.countryCode = "'US'";
124+
}
125+
if (component.props.areaCode) {
126+
component.props.areaCode = "'650'";
127+
}
122128
component.name = componentData.name;
123129
component.description = componentData.description;
124130
return component;

0 commit comments

Comments
 (0)