framework/react/api/custom-styles
Examples
Want to skip to the implementation? Check out these examples:
The API below described how to use the custom-steps features.
API
getSegments
getSegments: () => ReadonlyArray<{ left: number; width: number }>Segments to be rendered. Each segment has the following props:
left: number- Percentage value of where segment should start on rangerwidth: number- Percentage value of segment width