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 DataContext = React.createContext(); | |
function DataTable({ children }) { | |
return <section className="data-table">{children}</section>; | |
} | |
function DataTableHead({ children }) { | |
return ( | |
<header className="data-table-head"> | |
<div className="data-table-row">{children}</div> |
OlderNewer