$ npm install rax-refreshcontrol
<%= answers.description %>
$ npm install <%= answers.name%> --save
import RaxRefreshcontrol from '<%= answers.name%>';
| name | type | default | describe |
|---|---|---|---|
| name | String | '' | describe |
| name | param | return | describe |
|---|---|---|---|
| name | Object | / | describe |
import {createElement, Component, render} from 'rax';
import RaxRefreshcontrol from 'rax-rax-refreshcontrol';
class App extends Component {
render() {
return (
<RaxRefreshcontrol>
{ /* your code */ }
</RaxRefreshcontrol>
);
}
}
render(<App />);
© 2010 - cnpmjs.org x YWFE | Home | YWFE