Skip to content

Add support to render a mark at each step

Compare
Choose a tag to compare
@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.