Comparing version 0.0.5 to 0.0.6
@@ -0,1 +1,11 @@ | ||
<a name="0.0.6"></a> | ||
## [0.0.6](https://github.com/s-panferov/rscrollspy/compare/v0.0.5...v0.0.6) (2016-03-01) | ||
### Features | ||
* remove self container ([78795c5](https://github.com/s-panferov/rscrollspy/commit/78795c5)) | ||
<a name="0.0.5"></a> | ||
@@ -2,0 +12,0 @@ ## 0.0.5 (2016-02-29) |
import * as React from 'react'; | ||
export interface ScrollSpyProps extends React.Props<ScrollSpy> { | ||
ids: string[]; | ||
htmlProps?: React.HTMLAttributes; | ||
onChange?: (inView: string[], outView: string[]) => void; | ||
@@ -24,3 +25,3 @@ } | ||
assignListener(): void; | ||
render(): JSX.Element; | ||
render(): React.ReactElement<any>; | ||
findTargetElements(ids: string[]): HTMLElement[]; | ||
@@ -27,0 +28,0 @@ getScrollParent(): HTMLElement; |
@@ -57,3 +57,3 @@ "use strict"; | ||
var renderer = this.props.children; | ||
return (React.createElement("div", null, renderer(this.state.inView, this.state.outView))); | ||
return (renderer(this.state.inView, this.state.outView)); | ||
}; | ||
@@ -60,0 +60,0 @@ ScrollSpy.prototype.findTargetElements = function (ids) { |
{ | ||
"name": "rscrollspy", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"description": "React scroll spy component", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116281