3.0.8 • Published 6 years ago
the-jumbotron v3.0.8
the-jumbotron
Jumbotron of the-components
Installation
$ npm install the-jumbotron --save
Usage
Live Demo is hosted on GitHub Page
'use strict'
import React from 'react'
import { TheJumbotron, TheJumbotronStyle } from 'the-jumbotron'
class ExampleComponent extends React.PureComponent {
render () {
return (
<div>
<TheJumbotronStyle/>
<TheJumbotron
title='This is Title'
subTitle='This is SubTitle'
image='https://raw.githubusercontent.com/apeman-asset-labo/apeman-asset-images/master/dist/dummy/01.jpg'
>
</TheJumbotron>
</div>
)
}
}
export default ExampleComponent
Components
TheJumbotron
Jumbotron of the-components
Props
Name | Type | Description | Default |
---|---|---|---|
center | bool | Align center | false |
image | string | Image URL |
|
subTitle | string | Sub title string |
|
title | string |
|
TheJumbotronStyle
Style for TheJumbotron
Props
Name | Type | Description | Default |
---|---|---|---|
options | object | Style options | {} |
License
This software is released under the MIT License.