mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-06 22:40:26 -05:00
10 lines
326 B
TypeScript
10 lines
326 B
TypeScript
import { default as MaterialUIButton, ButtonProps } from '@material-ui/core/Button';
|
|
import React, { forwardRef } from 'react';
|
|
|
|
type ButtonRef = HTMLButtonElement;
|
|
|
|
const Button = forwardRef<ButtonRef, ButtonProps>(function Button(props, ref) {
|
|
return <MaterialUIButton {...props} ref={ref} />;
|
|
});
|
|
|
|
export default Button;
|