the-lead
Lead of the-components
Installation
$ npm install the-lead --save
Usage
Live Demo is hosted on GitHub Page
'use strict'
import React from 'react'
import { TheLead, TheLeadStyle } from 'the-lead'
class ExampleComponent extends React.PureComponent {
render () {
return (
<div>
<TheLeadStyle/>
<TheLead title='This is the title'
text='Tis is the text'
error='This is the error'
>
</TheLead>
</div>
)
}
}
export default ExampleComponent
Components
TheLead
Lead of the-components
Props
Name | Type | Description | Default |
---|---|---|---|
error |
string | Lead error | null |
text |
string | Lead text | null |
title |
string | null |
TheLeadStyle
Style for TheLead
Props
Name | Type | Description | Default |
---|---|---|---|
options |
object | Style options | {} |
License
This software is released under the MIT License.