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:
committed by
Juan Picado @jotadeveloper
parent
752e2b963d
commit
3888736e45
@@ -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} />;
|
||||
|
||||
Reference in New Issue
Block a user