Last active
June 16, 2019 17:21
-
-
Save abhishekjakhar/12f4de54ae1ca92a074ed6f00fe8375a to your computer and use it in GitHub Desktop.
React Fragment (Table Columns Component) (React.Fragment)
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'; | |
const TableColumns = (props) => { | |
const { name, subject } = props; | |
return ( | |
<React.Fragment> | |
<td>{name}</td> | |
<td>{subject}</td> | |
</React.Fragment> | |
); | |
} | |
export default TableColumns; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment