Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 553 Bytes

File metadata and controls

22 lines (17 loc) · 553 Bytes
title 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