0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-01-06 22:40:26 -05:00
verdaccio/packages/plugins/ui-theme/src/components/Button.tsx
2021-04-15 21:10:49 +02:00

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;