Open dcotelessa opened 6 years ago
In Col.js, line 22, allowing functions to be passed in can include other ReactComponents, as well as predefined tags: tagName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
tagName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),
@dcotelessa please some more explanation for that feature? How would you use it? What is the advantage?
In Col.js, line 22, allowing functions to be passed in can include other ReactComponents, as well as predefined tags:
tagName: PropTypes.oneOfType([PropTypes.func, PropTypes.string]),