Skip to content

Commit 2a1b15e

Browse files
committed
docs: correct progress api defaults
1 parent 02bba57 commit 2a1b15e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,14 +82,14 @@ Online preview: https://progress.react-component.vercel.app/
8282
| `className` | string | - | Additional class name for the root node. |
8383
| `classNames` | Partial<Record<'root' \| 'rail' \| 'track', string>> | - | Semantic class names for internal slots. |
8484
| `gapDegree` | number | - | Gap degree for circle progress. |
85-
| `gapPosition` | `'top'` \| `'right'` \| `'bottom'` \| `'left'` | `'top'` | Gap position for circle progress. |
85+
| `gapPosition` | `'top'` \| `'right'` \| `'bottom'` \| `'left'` | `'bottom'` | Gap position for circle progress. |
8686
| `id` | string | - | Root element id. |
8787
| `loading` | boolean | false | Render an indeterminate loading animation. |
8888
| `onClick` | React.MouseEventHandler | - | Click handler for the root SVG. |
8989
| `percent` | number \| number[] | 0 | Progress percent. Arrays render multiple tracks. |
9090
| `prefixCls` | string | `'rc-progress'` | Prefix class name. |
9191
| `railColor` | string | `'#D9D9D9'` | Rail color. |
92-
| `railWidth` | number | `strokeWidth` | Rail stroke width. |
92+
| `railWidth` | number | 1 | Rail stroke width. |
9393
| `steps` | number \| { count: number; gap: number } | - | Render progress as discrete steps. |
9494
| `strokeColor` | string \| Record<string, string \| boolean> \| Array<string \| Record<string, string \| boolean>> | `'#2db7f5'` | Track color, gradient object, or per-track colors. |
9595
| `strokeLinecap` | `'round'` \| `'butt'` \| `'square'` | `'round'` | Stroke line cap. |

0 commit comments

Comments
 (0)