es6-react-admin-lte
Version:
An AdminLTE Template made to use for React and ES2015-and-so-on
51 lines (41 loc) • 1.03 kB
Markdown
# The ContentWrapper
> ./src/js/components/content-wrapper/
## Purpose
This component holds changing 'page content' of the admin panel.
## Important Items
- content-wrapper.jsx
## Props
__heading__
* Required - _false_
* Data Type - _STRING_
* Functionality - _Displays a page title heading_
* Default - _''_
__subheading__
* Required - _false_
* Data Type - _STRING_
* Functionality - _Displays a page title subheading_
* Default - _''_
__breadcrumbs__
* Required - _false_
* Data Type - _BOOLEAN_
* Functionality - _Displays a Breadcrumbs component_
* Default - _false_
__Takes Children__
* Expected Type - _ELEMENTS && STRING_
* Displays Inside - _A <section> classed .content/body_
## Example
```javascript/jsx
import ContentWrapper from './src/js/components/content-wrapper/content-wrapper.jsx';
<ContentWrapper
heading="Cool Cats"
subheading="A list of really cool cats"
>
<ol>
<li>Swat Cats</li>
<li>Thunder Cats</li>
<li>Heathcliff</li>
<li>Garfield</li>
</ol>
</ContentWrapper>
```
---