1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-16 08:05:44 +07:00

fix: fixed imports & func's name (#182)

This commit is contained in:
Priscila Oliveira
2019-10-12 08:45:39 +02:00
committed by Juan Picado @jotadeveloper
parent 752e2b963d
commit 3888736e45
9 changed files with 14 additions and 10 deletions

View File

@@ -1,7 +1,7 @@
import React, { forwardRef } from 'react';
import { default as MaterialUIButton, ButtonProps } from '@material-ui/core/Button';
type ButtonRef = HTMLElementTagNameMap['button'];
type ButtonRef = HTMLButtonElement;
const Button = forwardRef<ButtonRef, ButtonProps>(function Button(props, ref) {
return <MaterialUIButton {...props} ref={ref} />;