4.2.0 • Published 3 years ago
@kensoni/react-icons v4.2.0
react-icons-custom
Custom of package React-Icons
Installation
npm i --save @kensoni/react-icons
Using
import Icons from '@kensoni/react-icons';
...
<Icons.Icon Icon={ Icons.DiGoogleCloudPlatform } />
...
Icons support
Please get icons at here: React Icons
Alias react-icons
import Icons, { // Icons is object contains Component alias and all icons of react-icons
Context, // Alias of IconContext,
IconTree, // IconTree of react-icons
GenIcon, // GenIcon of react-icons
IconBaseProps, // IconBaseProps of react-icons
IconBase, // IconBase of react-icons
IconType, // IconType of react-icons
IconManifest // IconManifest of react-icons
} from '@kensoni/react-icons';
// IAiIcon: interface contains properties of react-icons/ai
// AiIcon: Object contains all icons of react-icons/ai
import { IAiIcon, AiIcon } from '@kensoni/react-icons/dist/esm/AiIcon';
Use the same for other icons of react-icons
4.2.0
3 years ago