@dabapps/roe
Version:
A collection of React components, styles, mixins, and atomic CSS classes to aid with the development of web applications.
31 lines (25 loc) • 490 B
Markdown
#### Example
Note: you **MUST** apply the "app" class to the element where your AppRoot will be rendered.
```html static
<html>
<body>
<div id="app" class="app"></div>
</body>
</html>
```
```js static
ReactDOM.render(
<AppRoot>
<NavBar shy>
<Container>NavBar</Container>
</NavBar>
<Container>
<h1>Content</h1>
</Container>
<Footer sticky>
<Container>Footer</Container>
</Footer>
</AppRoot>,
document.getElementById('app')
);
```