Skip to content
This repository has been archived by the owner on Mar 4, 2020. It is now read-only.

Commit

Permalink
fix(Tooltip): prop types (#1499)
Browse files Browse the repository at this point in the history
* fix proptypes

* upd changelog
  • Loading branch information
kuzhelov authored Jun 14, 2019
1 parent 9be6706 commit 23622eb
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm

## [Unreleased]

### Fixes
- Fix prop types of `Tooltip` component @kuzhelov ([#1499](https://github.com/stardust-ui/react/pull/1499))

<!--------------------------------[ v0.33.0 ]------------------------------- -->
## [v0.33.0](https://github.com/stardust-ui/react/tree/v0.33.0) (2019-06-13)
[Compare changes](https://github.com/stardust-ui/react/compare/v0.32.0...v0.33.0)
Expand Down
6 changes: 6 additions & 0 deletions packages/react/src/components/Tooltip/Tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,18 @@ export interface TooltipProps
/** Additional CSS class name(s) to apply. */
className?: string

/** Initial value for 'open'. */
defaultOpen?: boolean

/** Existing element the tooltip should be bound to. */
mountNode?: HTMLElement

/** Delay in ms for the mouse leave event, before the tooltip will be closed. */
mouseLeaveDelay?: number

/** Defines whether tooltip is displayed. */
open?: boolean

/** A tooltip can show a pointer to trigger. */
pointing?: boolean

Expand Down

0 comments on commit 23622eb

Please sign in to comment.