From 8214cc6c117c695eec31de8c452131769e875c20 Mon Sep 17 00:00:00 2001 From: oasis-cloud Date: Mon, 7 Aug 2023 10:05:45 +0800 Subject: [PATCH] =?UTF-8?q?docs:=20numberkeyboard=20=E7=9A=84=20type=20?= =?UTF-8?q?=E5=B1=9E=E6=80=A7=E7=B1=BB=E5=9E=8B=E6=9B=B4=E6=96=B0=20(#1284?= =?UTF-8?q?)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/numberkeyboard/doc.en-US.md | 2 +- src/packages/numberkeyboard/doc.md | 2 +- src/packages/numberkeyboard/doc.taro.md | 2 +- src/packages/numberkeyboard/doc.zh-TW.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/packages/numberkeyboard/doc.en-US.md b/src/packages/numberkeyboard/doc.en-US.md index e5c1e03ae5..bdd3eedd95 100644 --- a/src/packages/numberkeyboard/doc.en-US.md +++ b/src/packages/numberkeyboard/doc.en-US.md @@ -253,7 +253,7 @@ export default App; | --- | --- | --- | --- | | visible | Whether to show keyboard | `boolean` | `false` | | title | Keyboard title | `ReactNode` | `-` | -| type | Keyboard type, default/rightColumn | `string` | `default` | +| type | Keyboard type, default/rightColumn | `'default' \| 'rightColumn'` | `default` | | random | Whether to shuffle the order of keys | `boolean` | `false` | | custom | Content of bottom left key, Array form supports adding up to two | `string[]` | `-` | | confirmText | Custom done button text,Such as "pay", "next", "submit" | `string` | `done` | diff --git a/src/packages/numberkeyboard/doc.md b/src/packages/numberkeyboard/doc.md index e665e3095b..1c2cbe4f78 100644 --- a/src/packages/numberkeyboard/doc.md +++ b/src/packages/numberkeyboard/doc.md @@ -253,7 +253,7 @@ export default App; | --- | --- | --- | --- | | visible | 是否显示键盘 | `boolean` | `false` | | title | 键盘标题 | `ReactNode` | `-` | -| type | 键盘模式, default:默认样式 rightColumn:带右侧栏 | `string` | `default` | +| type | 键盘模式, default:默认样式 rightColumn:带右侧栏 | `'default' \| 'rightColumn'` | `default` | | random | 随机数 | `boolean` | `false` | | custom | 自定义键盘额外的键, 数组形式最多支持添加 2 个, 超出默认取前 2 项 | `string[]` | `-` | | confirmText | 自定义完成按钮文字,如"支付","下一步","提交"等 | `string` | `完成` | diff --git a/src/packages/numberkeyboard/doc.taro.md b/src/packages/numberkeyboard/doc.taro.md index 70c601c545..981fdfced3 100644 --- a/src/packages/numberkeyboard/doc.taro.md +++ b/src/packages/numberkeyboard/doc.taro.md @@ -253,7 +253,7 @@ export default App; | --- | --- | --- | --- | | visible | 是否显示键盘 | `boolean` | `false` | | title | 键盘标题 | `ReactNode` | `-` | -| type | 键盘模式, default:默认样式 rightColumn:带右侧栏 | `string` | `default` | +| type | 键盘模式, default:默认样式 rightColumn:带右侧栏 | `'default' \| 'rightColumn'` | `default` | | random | 随机数 | `boolean` | `false` | | custom | 自定义键盘额外的键, 数组形式最多支持添加 2 个, 超出默认取前 2 项 | `string[]` | `-` | | confirmText | 自定义完成按钮文字,如"支付","下一步","提交"等 | `string` | `完成` | diff --git a/src/packages/numberkeyboard/doc.zh-TW.md b/src/packages/numberkeyboard/doc.zh-TW.md index 4d14554ccf..ce392d5a35 100644 --- a/src/packages/numberkeyboard/doc.zh-TW.md +++ b/src/packages/numberkeyboard/doc.zh-TW.md @@ -253,7 +253,7 @@ export default App; | --- | --- | --- | --- | | visible | 是否顯示鍵盤 | `boolean` | `false` | | title | 鍵盤標題 | `ReactNode` | `-` | -| type | 鍵盤模式, default:默認樣式 rightColumn:帶右側欄 | `string` | `default` | +| type | 鍵盤模式, default:默認樣式 rightColumn:帶右側欄 | `'default' \| 'rightColumn'` | `default` | | random | 隨機數 | `boolean` | `false` | | custom | 自定義鍵盤額外的鍵, 數組形式最多支持添加 2 個, 超出默認取前 2 項 | `string[]` | `-` | | confirmText | 自定義完成按鈕文字,如"支付","下一步","提交"等 | `string` | `完成` |