Skip to content

Commit

Permalink
fix(263): Fixed bug where root <svg> element's classes couldn't be ch…
Browse files Browse the repository at this point in the history
…anged via chartStyle prop
  • Loading branch information
EvHaus committed Feb 27, 2024
1 parent 775c6f0 commit 308f9a1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,7 @@ const webSvgToPdfSvg = (children: React.ReactElement, chartStyle?: Style) => {
<Svg
{...baseProps}
height={attribs.height}
style={getElementStyle(attribs, chartStyle)}
viewBox={attribs.viewBox}
width={attribs.width}
>
Expand Down

0 comments on commit 308f9a1

Please sign in to comment.