mirror of
https://github.com/SomboChea/ui
synced 2024-10-01 05:47:50 +07:00
11 lines
332 B
TypeScript
11 lines
332 B
TypeScript
|
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;
|