Browse Source

Extend HTMLAttributes

pull/16195/head
Sean Willis 6 years ago
parent
commit
246f1e0916
  1. 4
      components/tooltip/index.tsx

4
components/tooltip/index.tsx

@ -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…
Cancel
Save