Expose mixpanelShape
Closed this issue · 1 comments
TigerC10 commented
Since we need to populate the mixpanel
proptype shape in the consumers of this provider, it should be exposed from this library for an easy import.
import { MixpanelPropType } from 'react-mixpanel';
SomeConsumer.propTypes = {
mixpanel: MixpanelPropType,
};
neciu commented
Since 1.0.5 the shape is exposed.