Skip to content

Commit

Permalink
fix: effect and type not properly applied at first render
Browse files Browse the repository at this point in the history
  • Loading branch information
KazuAlex committed Nov 25, 2021
1 parent 01bf0ec commit a8d0e51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class ReactTooltip extends React.Component {
uuid: props.uuid || generateUUID(),
place: props.place || 'top', // Direction of tooltip
desiredPlace: props.place || 'top',
type: 'dark', // Color theme of tooltip
effect: 'float', // float or fixed
type: props.type || 'dark', // Color theme of tooltip
effect: props.effect || 'float', // float or fixed
show: false,
border: false,
customColors: {},
Expand Down

0 comments on commit a8d0e51

Please sign in to comment.