Skip to content

Commit

Permalink
chore: fix typos (#2300)
Browse files Browse the repository at this point in the history
Signed-off-by: snoppy <[email protected]>
  • Loading branch information
xiaoxianBoy authored May 30, 2024
1 parent 8855689 commit bbdfc59
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/packages/noticebar/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/packages/shortpassword/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` | `-` |
Expand Down
4 changes: 2 additions & 2 deletions src/packages/swipe/doc.md
Original file line number Diff line number Diff line change
Expand Up @@ -254,10 +254,10 @@ import { SwipeInstance } from '@/packages/Swipe'

const App = () => {
const refDom = useRef<SwipeInstance>(null)
const beforeClose = (postion: string) => {
const beforeClose = (position: string) => {
Dialog.alert({
title: '提示',
content: postion === 'left' ? '确定选择吗?' : '确定删除吗?',
content: position === 'left' ? '确定选择吗?' : '确定删除吗?',
onConfirm: () => {
refDom.current && refDom.current.close()
},
Expand Down
2 changes: 1 addition & 1 deletion src/packages/tabbar/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |

Expand Down
2 changes: 1 addition & 1 deletion src/packages/table/doc.en-US.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ import { Table } from '@nutui/nutui-react';

:::

### Sticky Rright Column
### Sticky Right Column

:::demo

Expand Down

0 comments on commit bbdfc59

Please sign in to comment.