mirror of
https://github.com/ant-design/ant-design.git
synced 2025-06-11 19:42:54 +08:00
Extend HTMLAttributes
This commit is contained in:
parent
dbd3fbfb95
commit
246f1e0916
@ -81,8 +81,8 @@ const splitObject = (obj: any, keys: string[]) => {
|
||||
return { picked, omitted };
|
||||
};
|
||||
|
||||
class Tooltip extends React.Component<TooltipProps, any> {
|
||||
static defaultProps = {
|
||||
class Tooltip extends React.Component<TooltipProps & React.HTMLAttributes<HTMLElement>, any> {
|
||||
static defaultProps = {
|
||||
placement: 'top' as TooltipPlacement,
|
||||
transitionName: 'zoom-big-fast',
|
||||
mouseEnterDelay: 0.1,
|
||||
|
Loading…
Reference in New Issue
Block a user