react-minimal-pie-chart
Advanced tools
Changelog
9.0.0
svg-partial-circle
unbundled and imported via plain importChangelog
8.4.1
@types/svg-path-parser
to dev dependenciesChangelog
8.4.0
labelRenderProps
by using TS genericsPieChartProps
typesChangelog
8.1.0
Changelog
8.0.1
extractPercentage
implementation to address a rounding issue in stroke-dashoffset
evaluation (#133)Changelog
8.0.0
react
and react-dom
peerDependency versions increased to ^16.8.0
typescript
version increased to ^3.8.0
(due to import type
)label
prop works as render prop; drop support for boolean
and Element valuessegmentsShift
prop expressed as absolute viewBox
units instead of radius' percentage(event, segmentIndex) => void
rx
and ry
props replaced by center
array propcenter
and radius
props expressed as absolute viewBox
units instead of percentage of itprop-types
dependency and static PropTypes
declarations droppedinjectSVG
dropped in favour of native children propObject.assign
polyfillsegmentsStyle
and labelStyle
accept both value or functiondominant-baseline: central
(#149)Changelog
7.3.1
label
prop type declaration when receiving a function (#154)