Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 606 Bytes

File metadata and controls

26 lines (17 loc) · 606 Bytes
name Custom Styles
route /api/custom-styles
menu API

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 ranger
  • width: number - Percentage value of segment width