react-notification-system
react-notification-system copied to clipboard
Example code throws ESlint Errors.
Using this.refs is deprecated react/no-string-refs Prop 'style' is forbidden on Components react/forbid-component-props Style prop value must be an object react/style-prop-object
<Notifications ref="notifications" style={false} />
I've fixed the this.refs is deprecated by making the ref a function that defines this.notificaiton, but I have no way of fixing the style is forbidden, since that's the only way to remove all the styles from the component.