Skip to content

Conversation

@Heliomance
Copy link

  • Split out leaves and branches for treemaps into different interfaces - no need to specify a size for a branch
  • Added missing optional "position" param to XAxisProps and YAxisProps
  • Added missing optional "style" param to DiscreteColorLegendProps
  • Added missing optional "colorType" param to TreemapProps
  • Added missing "ChartLabelProps" interface and "ChartLabel" class
  • Added missing optional "color" prop to "data" in RadialChartProps
  • Added missing optional "innerRadius" and "radius" props to RadialChartProps
  • Added missing "height" prop to FlexibleWidthXYPlotProps
  • Added missing "width" prop to FlexibleHeightXYPlotProps
  • Type-narrowed makeHeightFlexible, makeWidthFlexible, and makeVisFlexible functions
  • Assorted minor formatting changes from Prettier

- Split out leaves and branches for treemaps into different interfaces - no need to specify a size for a branch
- Added missing optional "position" param to XAxisProps and YAxisProps
- Added missing optional "style" param to DiscreteColorLegendProps
- Added missing optional "colorType" param to TreemapProps
- Added missing "ChartLabelProps" interface and "ChartLabel" class
- Added missing optional "color" prop to "data" in RadialChartProps
- Added missing optional "innerRadius" and "radius" props to RadialChartProps
- Added missing "height" prop to FlexibleWidthXYPlotProps
- Added missing "width" prop to FlexibleHeightXYPlotProps
- Type-narrowed makeHeightFlexible, makeWidthFlexible, and makeVisFlexible functions
- Assorted minor formatting changes from Prettier
@EvgenyGulyaev
Copy link

If you want to download these types from NPM, I created 'react-vis-types' package
Please create PR to my Repo with your changes, thanks.
We can help other people

Install

npm install react-vis-types --save   
    or
yarn add react-vis-types

Repo

https://github.com/EvgenyGulyaev/types-react-vis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants