the-lead

1.1.7 • Public • Published

the-lead

Build Status npm Version JS Standard

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.

Links

Readme

Keywords

Package Sidebar

Install

npm i the-lead

Weekly Downloads

4

Version

1.1.7

License

MIT

Unpacked Size

46.8 kB

Total Files

22

Last publish

Collaborators

  • okunishinishi