1
0
mirror of https://github.com/SomboChea/ui synced 2024-11-16 19:24:28 +07:00
verdaccio-ui/src/muiComponents/IconButton/IconButton.tsx

11 lines
366 B
TypeScript
Raw Normal View History

import React, { forwardRef } from 'react';
2019-10-06 23:30:05 +07:00
import { default as MaterialUIIconButton, IconButtonProps } from '@material-ui/core/IconButton';
type IconButtonRef = HTMLButtonElement;
const IconButton = forwardRef<IconButtonRef, IconButtonProps>(function IconButton(props, ref) {
2019-10-06 23:30:05 +07:00
return <MaterialUIIconButton {...props} ref={ref} />;
});
export default IconButton;