1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-24 12:14:49 +07:00
verdaccio-ui/src/muiComponents/SvgIcon/SvgIcon.tsx

11 lines
332 B
TypeScript
Raw Normal View History

2019-10-12 16:42:29 +07:00
import React, { forwardRef } from 'react';
import { default as MaterialUISvgIcon, SvgIconProps } from '@material-ui/core/SvgIcon';
type SvgIconRef = SVGSVGElement;
const SvgIcon = forwardRef<SvgIconRef, SvgIconProps>(function SvgIcon(props, ref) {
return <MaterialUISvgIcon {...props} ref={ref} />;
});
export default SvgIcon;