Last active
January 25, 2020 20:47
-
-
Save lior-amsalem/54fc8d3286d267fbd147cd331ac118ab to your computer and use it in GitHub Desktop.
Initial File of our dynamically generated inputs - part 1
This file contains hidden or 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 from 'react'; | |
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome' | |
import { faMinusCircle } from '@fortawesome/free-solid-svg-icons' | |
import './cat-list.css'; | |
class CatList extends React.Component { | |
renderList() { | |
return null | |
} | |
render() { | |
return ( | |
<div className="row custom-headers Rtable Rtable--2cols"> | |
<div className="Rtable-cell">Cat Name</div> | |
<div className="Rtable-cell">Cat Age</div> | |
{this.renderList()} | |
</div> | |
); | |
} | |
} | |
export default CatList; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment