author import React from 'react' ; import Icons from '@/components/IconSvg' ; export interface IconProps { type : string ; style ? : React . CSSProperties ; className ? : string ; } const Icon = props => { return < Icons { ... props } / > ; } ; export default Icon ;