File tree Expand file tree Collapse file tree 1 file changed +35
-0
lines changed
src/components/Compatibility Expand file tree Collapse file tree 1 file changed +35
-0
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import Container from '../Container/Container' ;
3+ import packages from './packages.json' ;
4+
5+ export default ( ) => {
6+ return (
7+ < Container className = "page__content" >
8+ < h1 > Ecosystem compatibility</ h1 >
9+ < div className = "table" >
10+ < div className = "table-wrap" >
11+ < div className = "table-header" >
12+ < div className = "table-tr" >
13+ < div className = "table-th" > Package</ div >
14+ < div className = "table-th" > Compatibility</ div >
15+ </ div >
16+ </ div >
17+ < div className = "table-body" >
18+ { packages . map ( ( { name, peerDependencies : { webpack } = { webpack : '' } } ) => (
19+ < div className = "table-tr" >
20+ < div className = "table-td" >
21+ < div className = "table-td-title" > Package</ div >
22+ < div className = "table-td-content" > { name } </ div >
23+ </ div >
24+ < div className = "table-td" >
25+ < div className = "table-td-title" > Compatibility</ div >
26+ < div className = "table-td-content" > { webpack } </ div >
27+ </ div >
28+ </ div >
29+ ) ) }
30+ </ div >
31+ </ div >
32+ </ div >
33+ </ Container >
34+ ) ;
35+ } ;
You can’t perform that action at this time.
0 commit comments