mirror of
https://github.com/bendtherules/is-nifty-open.git
synced 2026-08-19 08:42:39 +00:00
Remove placeholder css and html from app, add OpenToday child within container
This commit is contained in:
@@ -3,20 +3,13 @@ import './App.css';
|
||||
import { OpenToday } from '../OpenToday';
|
||||
import { allHolidays } from '../../Data';
|
||||
|
||||
const logo = require('./logo.svg');
|
||||
|
||||
class IsNiftyOpenApp extends React.Component {
|
||||
render() {
|
||||
return (
|
||||
<div className="App">
|
||||
<header className="App-header">
|
||||
<img src={logo} className="App-logo" alt="logo" />
|
||||
<h1 className="App-title">Welcome to React</h1>
|
||||
</header>
|
||||
<p className="App-intro">
|
||||
To get started, edit <code>src/App.tsx</code> and save to reload.
|
||||
</p>
|
||||
<OpenToday question={OpenToday.OpenOrClose.Open} allHolidays={allHolidays}/>
|
||||
<div className="OpenToday-container">
|
||||
<OpenToday question={OpenToday.OpenOrClose.Open} allHolidays={allHolidays} />
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user