logtrace / material-icons-react

Google material icons implementation for React
MIT License
24 stars 16 forks source link

Error in latest version #28

Closed Ehesp closed 6 years ago

Ehesp commented 6 years ago

Hey,

In the latest version of this lib, it's throwing an error ReferenceError: clsName is not defined.

Looking at the source, it seems this change broke it.

this.setState({element: <i {...other} className={clsName} style={styleOverride} >{icon}</i>})

Both the clsName and styleOveride don't exist here.

sithumn commented 6 years ago

Fixed with the latest release