---
title: "Comment by Lucas Rinaldi on \"Passing icons as props in a consistent way using React\" | Hashnode"
description: "Good improvement of the API. Just a warning about calling components as function. https://kentcdodds.com/blog/dont-call-a-react-function-component"
url: "https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2/comment/6064af9e574933157db93192"
---

[Discussion](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2)

Comment [Passing icons as props in a consistent way using React](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2)

[Lucas Rinaldi](https://hashnode.com/@lhrinaldi)

[Mar 31, 2021](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2/comment/6064af9e574933157db93192)

Good improvement of the API.

Just a warning about calling components as function. [kentcdodds.com/blog/dont-call-a-react-function-co…](https://kentcdodds.com/blog/dont-call-a-react-function-component)

[Ozzie Neher](https://hashnode.com/@ozziexsh)

[Apr 2, 2021](https://hashnode.com/posts/passing-icons-as-props-in-a-consistent-way-using-react/6043b3ca8458d42fc821b3b2/comment/6064af9e574933157db93192#reply-6067349643f7713266913fd4)

Thanks, I've updated the post to reflect this :)
