forked from sombochea/verdaccio-ui
ae73772a37
* refactor: added eslint-plugin-import * refactor: disable some rules for muiComponents * fix: fixed import
11 lines
380 B
TypeScript
11 lines
380 B
TypeScript
import React, { forwardRef } from 'react';
|
|
import { default as MaterialUIIconButton, IconButtonProps } from '@material-ui/core/IconButton';
|
|
|
|
type IconButtonRef = HTMLElementTagNameMap['button'];
|
|
|
|
const IconButton = forwardRef<IconButtonRef, IconButtonProps>(function IconButton(props, ref) {
|
|
return <MaterialUIIconButton {...props} ref={ref} />;
|
|
});
|
|
|
|
export default IconButton;
|