mirror of
https://github.com/ant-design/ant-design.git
synced 2024-11-25 03:29:59 +08:00
Merge pull request #16195 from swillis12/Fix-tooltip-Type
Fix className prop issue when using Tooltip
This commit is contained in:
commit
e01ba57332
@ -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