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