1
0
Fork 1
mirror of https://github.com/SomboChea/ui synced 2024-06-30 23:09:44 +07:00
verdaccio-ui/src/muiComponents/Button/Button.tsx

11 lines
326 B
TypeScript
Raw Normal View History

2019-10-06 22:17:36 +07:00
import React, { forwardRef } from 'react';
import { default as MaterialUIButton, ButtonProps } from '@material-ui/core/Button';
type ButtonRef = HTMLButtonElement;
2019-10-06 22:17:36 +07:00
const Button = forwardRef<ButtonRef, ButtonProps>(function Button(props, ref) {
return <MaterialUIButton {...props} ref={ref} />;
});
export default Button;