Skip to content

Commit

Permalink
Merge 78dc5fc into e887c78
Browse files Browse the repository at this point in the history
  • Loading branch information
wjhurley committed Nov 19, 2019
2 parents e887c78 + 78dc5fc commit 846005d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/src/components/Options.js
Expand Up @@ -31,7 +31,7 @@ const Options = () => (
DIRECTION - <b>Accepted values</b> : ltr, rtl
</li>
<li>
TOOLTIPS - <b>Accepted values</b> : false, true, formatter,
TOOLTIPS - <b>Accepted values</b> : false, true,
array[formatter or true or false, ...]
</li>
<li>
Expand Down
2 changes: 1 addition & 1 deletion index.d.ts
Expand Up @@ -41,7 +41,7 @@ export interface NouisliderProps {
start: number | number[] | string | string[];
step?: number;
style?: React.CSSProperties;
tooltips?: boolean | object[];
tooltips?: boolean | (boolean | Formatter)[];
}

export default class Nouislider extends React.Component<NouisliderProps> {}
2 changes: 2 additions & 0 deletions src/index.js
Expand Up @@ -206,7 +206,9 @@ Nouislider.propTypes = {
tooltips: PropTypes.oneOfType([
PropTypes.bool,
PropTypes.arrayOf(
PropTypes.bool,
PropTypes.shape({
from: PropTypes.func,
to: PropTypes.func
})
)
Expand Down

0 comments on commit 846005d

Please sign in to comment.