diff --git a/src/packages/noticebar/doc.en-US.md b/src/packages/noticebar/doc.en-US.md index a6323f2c4a..708fc2b1e4 100644 --- a/src/packages/noticebar/doc.en-US.md +++ b/src/packages/noticebar/doc.en-US.md @@ -2,7 +2,7 @@ ## Intro -Used to display a group of message notifications in a continuons loop. +Used to display a group of message notifications in a continuous loop. ## Install diff --git a/src/packages/shortpassword/doc.en-US.md b/src/packages/shortpassword/doc.en-US.md index d814d943a8..37a844c157 100644 --- a/src/packages/shortpassword/doc.en-US.md +++ b/src/packages/shortpassword/doc.en-US.md @@ -73,7 +73,7 @@ import { ShortPassword } from '@nutui/nutui-react'; | description | description | `ReactNode` | `Verify` | | tips | tips | `ReactNode` | `Forget password` | | hideFooter | whether to hide the bottom button | `boolean` | `true` | -| length | ShortPassword lenght The value is 4~6 | `number` | `6` | +| length | ShortPassword length The value is 4~6 | `number` | `6` | | error | Error message | `ReactNode` | `-` | | autoFocus | Be focused when ShortPassword is displayed | `boolean` | `false` | | onChange | Trigger event when password is entered | `(value) => void` | `-` | diff --git a/src/packages/swipe/doc.md b/src/packages/swipe/doc.md index b6b5af5f8c..9fdcb7f0d0 100644 --- a/src/packages/swipe/doc.md +++ b/src/packages/swipe/doc.md @@ -254,10 +254,10 @@ import { SwipeInstance } from '@/packages/Swipe' const App = () => { const refDom = useRef(null) - const beforeClose = (postion: string) => { + const beforeClose = (position: string) => { Dialog.alert({ title: '提示', - content: postion === 'left' ? '确定选择吗?' : '确定删除吗?', + content: position === 'left' ? '确定选择吗?' : '确定删除吗?', onConfirm: () => { refDom.current && refDom.current.close() }, diff --git a/src/packages/tabbar/doc.en-US.md b/src/packages/tabbar/doc.en-US.md index 5a608497ce..d0664124a2 100644 --- a/src/packages/tabbar/doc.en-US.md +++ b/src/packages/tabbar/doc.en-US.md @@ -108,7 +108,7 @@ import { Tabbar } from '@nutui/nutui-react'; | icon | Custom icon | `ReactNode` | `-` | | value | value to show in Badge, eg number、charctor and custom content | `ReactNode` | `-` | | max | when value is number, it's the max size | `number` | `99` | -| dot | Whther Bagde is dotted | `boolean` | `false` | +| dot | Whether Badge is dotted | `boolean` | `false` | | top | Up and down offset of Badge, support unit setting, can be set to: 5, etc. | `number` | `0` | | right | Left and right offset of Badge, support unit setting, can be set to: 5, etc. | `number` | `0` | diff --git a/src/packages/table/doc.en-US.md b/src/packages/table/doc.en-US.md index 29ec4ab403..9e53fd1928 100644 --- a/src/packages/table/doc.en-US.md +++ b/src/packages/table/doc.en-US.md @@ -108,7 +108,7 @@ import { Table } from '@nutui/nutui-react'; ::: -### Sticky Rright Column +### Sticky Right Column :::demo