guides icon indicating copy to clipboard operation
guides copied to clipboard

`TextFormat` not working

Open adam-26 opened this issue 4 years ago • 1 comments

Environments

  • Framework name: React
  • Framework version: latest
  • Component name: guides
  • Component version: 0.9.0
  • Testable Address(optional):

Description

The textFormat prop is not passed to the internal Ruler. It's missing in the source.

As a result, the following does not work:

<Guides textFormat={scale => `${scale + 10}`>...</Guides>

Cheers, Adam.

adam-26 avatar Jul 17 '20 10:07 adam-26

@adam-26

@scena/react-guides 0.9.1 is released. Thank you

daybrush avatar Jul 17 '20 16:07 daybrush