add code comment

This commit is contained in:
Ian Miller 🦐 2021-10-16 01:30:37 -04:00
parent c27ba80102
commit 0a8646d893

View File

@ -2,6 +2,12 @@ import React from 'react';
import PropTypes from 'prop-types'; import PropTypes from 'prop-types';
import IconInner from './IconInner'; 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 = ({ const FeatherIcon = ({
icon, icon,
size = 24, size = 24,