Skip to content

Commit

Permalink
chore: fix tooltip props
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagobrez committed Sep 28, 2023
1 parent c126fc3 commit 424457d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/Tooltip/index.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
import React from 'react';
import PropTypes from 'prop-types';
import * as tooltipPropTypes from './tooltipPropTypes';
import {propTypes as tooltipPropTypes, defaultProps as tooltipDefaultProps} from './tooltipPropTypes';
import BaseTooltip from './BaseTooltip';

const propTypes = {
...tooltipPropTypes.propTypes,
...tooltipPropTypes,
shouldRender: PropTypes.bool,
};

const defaultProps = {
...tooltipPropTypes.defaultProps,
...tooltipDefaultProps,
shouldRender: true,
};

Expand Down

0 comments on commit 424457d

Please sign in to comment.