feat: add play in codesandbox

This commit is contained in:
Justineo
2021-09-15 19:19:09 +08:00
parent 1b98a996ff
commit 7b723e469b
11 changed files with 602 additions and 396 deletions

View File

@@ -4,7 +4,8 @@ i18n.register(
'zh-Hans',
{
showCode: '显示代码',
hideCode: '隐藏代码'
hideCode: '隐藏代码',
playInCsb: '在 CodeSandbox 中打开'
},
{
ns: 'onedemo'
@@ -15,7 +16,8 @@ i18n.register(
'en-US',
{
showCode: 'Show code',
hideCode: 'Hide code'
hideCode: 'Hide code',
playInCsb: 'Open in CodeSandbox'
},
{
ns: 'onedemo'