本页还没有译文
本页 14 段还没译成Français,下面显示的是英文原文。framework/react/api/custom-steps
还没翻译译自英文(tanstack.com)本页 14 段都还没译
Examples
Want to skip to the implementation? Check out these examples:
The API below described how to use the custom-steps features.
Options
steps
steps: Array<number>An array of custom steps to use. This will override stepSize
ticks
ticks: Array<number>An array of custom ticks to use. This will override tickSize
API
getTicks
getTicks: () =>
ReadonlyArray<{ value: number; key: number; percentage: number }>Ticks to be rendered. Each tick has the following props:
value: number- The tick number to be displayedkey: number- The key of a tickpercentage: number- Percentage value of where tick should be placed on ranger
AI 翻译查看英文原文