Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
React Fragment (Table Columns Component) (div)
import React from 'react';
const TableColumns = (props) => {
const { name, subject } = props;
return (
<div>
<td>{name}</td>
<td>{subject}</td>
</div>
);
}
export default TableColumns;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment