1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-17 16:45:49 +07:00

fix: introduced SvgIcon (#184)

This commit is contained in:
Priscila Oliveira
2019-10-12 11:42:29 +02:00
committed by Juan Picado @jotadeveloper
parent 3b4d823845
commit 8b86ded434
3 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
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;

View File

@@ -0,0 +1 @@
export { default } from './SvgIcon';