rc-more Component for react.
Build with webpack and CSS Modules
Scrollable element should have scrollable
className or window
is used for scroll event listening.
npm i rc-more -S
<More
disable={this.state.disable}
callback={this.load} />
name | type | default | description |
---|---|---|---|
disable | boolean | false | disale more |
*callback | func | callback function for laoding | |
spinnerType | string | gray | type of ispinner |
useIspinner | boolean | true | set to false to use children of More instead of |
Use props.style
and props.className
for apply style to more element.
MIT