apeman-react-section
Version:
apeman react package for section components.
23 lines (20 loc) • 670 B
JSX
import React from 'react'
import {ApSection, ApSectionHeader, ApSectionBody, ApSectionStyle} from 'apeman-react-section'
const ExampleComponent = React.createClass({
render () {
return (
<div>
<ApSectionStyle/>
<ApSection>
<ApSectionHeader anchored={ true }>This is header of the section.</ApSectionHeader>
<ApSectionBody>This is content of the section.</ApSectionBody>
</ApSection>
<ApSection>
<ApSectionHeader>This is header of the section.</ApSectionHeader>
<ApSectionBody>This is content of the section.</ApSectionBody>
</ApSection>
</div>
)
}
})