antoniolago / react-gauge-component

React gauge component for data visualization.
https://antoniolago.github.io/react-gauge-component/
MIT License
132 stars 19 forks source link

Please add named export to library #53

Closed chrisallday-dev closed 2 weeks ago

chrisallday-dev commented 1 month ago

Hi, could you possibly add a named export to the library in addition to the default? I am in a situation where I require a named export for the project to work correctly.

antoniolago commented 2 weeks ago

Sorry for the delay, added named exports in v1.2.5 You can now import the component with import GaugeComponent from 'react-gauge-component'; or import { GaugeComponent } from 'react-gauge-component';

chrisallday-dev commented 1 week ago

Awesome work, thanks!