From 0a8646d893f764e86156f9b996600a3db28ef479 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ian=20Miller=20=F0=9F=A6=90?= Date: Sat, 16 Oct 2021 01:30:37 -0400 Subject: [PATCH] add code comment --- src/index.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/index.js b/src/index.js index 4bc725a..e09a682 100644 --- a/src/index.js +++ b/src/index.js @@ -2,6 +2,12 @@ import React from 'react'; import PropTypes from 'prop-types'; import IconInner from './IconInner'; +/** + * Feather icon + * otherProps spread will be removed in version 1. + * @param {icon} icon name that matches from feathericons + * @returns FeatherIcon react component + */ const FeatherIcon = ({ icon, size = 24,