Skip to content

Commit

Permalink
fix(0.0.196): make tooltip styles a breaking change
Browse files Browse the repository at this point in the history
  • Loading branch information
williaster committed May 13, 2020
1 parent 02543d9 commit 1319017
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,23 @@

#### :rocket: Enhancements

- [tooltip] Remove tooltip default styles [#666](https://github.com/hshoff/vx/pull/666)
- [brush] Add initialBrushPosition [#618](https://github.com/hshoff/vx/pull/618), fix in [#667](https://github.com/hshoff/vx/pull/667)

#### 💥 Breaking Changes
- [tooltip] Add ability to remove tooltip default styles [#666](https://github.com/hshoff/vx/pull/666). If styles were applied previously, you will also need to spread `defaultStyles`:

```jsx
// before
import { Tooltip } from '@vx/tooltip';
...
<Tooltip style={{ color: myCustomColor }} />

// after
import { Tooltip, defaultStyles } from '@vx/tooltip';
...
<Tooltip style={{ ...defaultStyles, color: myCustomColor }} />
```

#### :memo: Documentation

- [demo] Several demos refactored to link out to codesandbox
Expand Down

0 comments on commit 1319017

Please sign in to comment.