0.1.1 • Published 6 years ago
@aligov/component-test v0.1.1
component-test
Install
$ npm install component-test --save
Usage
import MyComponent from 'component-test';
API
Props
name | type | default | describe |
---|---|---|---|
name | String | '' | describe |
Function
name | param | return | describe |
---|---|---|---|
name | Object | / | describe |
Example
import {createElement, Component, render} from 'rax';
import View from 'rax-view';
class App extends Component {
render() {
return (
<View>
{ /* your code */ }
</View>
);
}
}
render(<App />);