Skip to content

Commit

Permalink
Merge pull request #735 from KazuAlex/master
Browse files Browse the repository at this point in the history
fix: effect and type not properly applied at first render
  • Loading branch information
aronhelser authored Jan 31, 2022
2 parents 018c4bc + a8d0e51 commit 8d260dc
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 8d260dc

Please sign in to comment.