This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export class ListPlus extends Component { | |
getData() { | |
// Connect Your Apps and Stores here | |
// requesting data | |
// applying data filter | |
// filter from front end store | |
} | |
render() { | |
const {list} = this.props; | |
const data= this.getData() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let data = [{ | |
location: '31231231-1231-3123-13-1233', | |
item: '31-31-3123-1-3-13-1-3-1-3-4', | |
active: true, | |
modifier: "3213123-312312-31-23-1" | |
}] | |
// as an object | |
let data = { | |
'31231231-1231-3123-13-1233': { | |
'31-31-3123-1-3-13-1-3-1-3-4': { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
class TCell extends Component { | |
render() { | |
return ( | |
<td className={style.Tcell} style={style}> | |
<this.props.FormField name={name} | |
/> | |
</td> | |
); | |
} |
OlderNewer