Closed elado closed 6 years ago
current:
import Icon from 'react-icons-kit'; import { drop } from 'react-icons-kit/ikons/drop'; <Icon icon={drop} />
suggested:
import DropIcon from 'react-icons-kit/ikons/drop'; <DropIcon />
Essentially remove the export const iconName = and use export default that has Icon built in.
export const iconName =
export default
Icon
@elado this can be accomplished via a module that you use to return icons. Please see the updated documentation on http://wmira.github.io/react-icons-kit/index.html#/
current:
suggested:
Essentially remove the
export const iconName =
and useexport default
that hasIcon
built in.