import { ReactSvgIconFC } from '@yzfe/react-svgicon' ; const icons = [ ] ; const req = require . context ( '@fa' , true , /\.svg/ ) ; req . keys ( ) . forEach ( ( key ) => { icons . push ( req ( key ) . default ) ; } ) ; export default icons ;