mirror of
https://github.com/SomboChea/ui
synced 2024-11-17 03:34:27 +07:00
11 lines
366 B
TypeScript
11 lines
366 B
TypeScript
import React, { forwardRef } from 'react';
|
|
import { default as MaterialUIIconButton, IconButtonProps } from '@material-ui/core/IconButton';
|
|
|
|
type IconButtonRef = HTMLButtonElement;
|
|
|
|
const IconButton = forwardRef<IconButtonRef, IconButtonProps>(function IconButton(props, ref) {
|
|
return <MaterialUIIconButton {...props} ref={ref} />;
|
|
});
|
|
|
|
export default IconButton;
|