8000 Release Add support to render a mark at each step · tajo/react-range · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support to render a mark at each step

Compare
Choose a tag to compare
48DF
@tajo tajo released this 14 Sep 20:24

93007943-c4a48c00-f523-11ea-933b-6200728ed663

There is a new API:

renderMark?: (params: {
  props: {
    key: string;
    style: React.CSSProperties;
    ref: React.RefObject<any>;
  };
  index: number;
}) => React.ReactNode;

Your marks will get automatically centered and positioned.

0