CartoDB / carto-react

CARTO for React packages
https://docs.carto.com/react/
MIT License
38 stars 16 forks source link

feat: add percentFormatter prop to PieWidgetUI #844

Closed jantolg closed 8 months ago

jantolg commented 8 months ago

Description

Add to central text in PieChartUI the same text formatter

Acceptance

  1. Go to PieWidgetUI
  2. Add percentFormatter prop
  3. Check the central text and tootltip have the same format as you set
github-actions[bot] commented 8 months ago

Pull Request Test Coverage Report for Build 8157955159

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/react-ui/src/widgets/PieWidgetUI/PieWidgetUI.js 3 5 60.0%
<!-- Total: 8 10 80.0% -->
Totals Coverage Status
Change from base Build 8154306142: 0.002%
Covered Lines: 2630
Relevant Lines: 3493

💛 - Coveralls
github-actions[bot] commented 8 months ago

Visit the preview URL for this PR (updated for commit 0fb4914):

https://cartodb-fb-storybook-react-dev--pr844-feat-add-percent-r2b0bjhh.web.app

(expires Tue, 12 Mar 2024 14:36:59 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 517cc4d31d7e09cf277774e034094b67c301cd4c