begin adding ability to fetch different datasets from home page
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
export default function DataButton(props) {
|
||||
|
||||
return (
|
||||
<button>
|
||||
{props.label}
|
||||
</button>
|
||||
);
|
||||
|
||||
}
|
||||
@@ -0,0 +1,17 @@
|
||||
import React from 'react';
|
||||
import Container from 'react-bootstrap/Container';
|
||||
import Row from 'react-bootstrap/Row';
|
||||
|
||||
export default function DataButtonHolder(props) {
|
||||
return(
|
||||
<Container fluid>
|
||||
|
||||
<Row className="d-flex flex-row justify-content-center align-items-center">
|
||||
|
||||
{props.children}
|
||||
|
||||
</Row>
|
||||
|
||||
</Container>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user