From 02351ec37b4a58eb7f6691c99503398f7e14281b Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Fri, 22 Nov 2019 17:22:42 +0800 Subject: [PATCH] =?UTF-8?q?ts=20=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Button.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/components/Button.tsx b/src/components/Button.tsx index 4335c784..5edc2640 100644 --- a/src/components/Button.tsx +++ b/src/components/Button.tsx @@ -8,11 +8,7 @@ import TooltipWrapper, {TooltipObject, Trigger} from './TooltipWrapper'; import {pickEventsProps} from '../utils/helper'; import {ClassNamesFn, themeable} from '../theme'; -interface ButtonProps - extends React.DetailedHTMLProps< - React.ButtonHTMLAttributes, - HTMLButtonElement - > { +interface ButtonProps extends React.DOMAttributes { id?: string; className?: string; href?: string;