apeman-react-toast
apeman react package for toast components.
Last updated 4 years ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install apeman-react-toast 
SYNC missed versions from official npm registry.

apeman-react-toast

Build Status Code Climate Code Coverage npm Version JS Standard

apeman react package for toast components.

Installation

$ npm install apeman-react-toast --save

Demo

Live demo is hosted on GitHub Pages.

Demo Image

Usage

'use strict'

import React from 'react'
import {ApToast, ApToastStyle} from 'apeman-react-toast'

const ExampleComponent = React.createClass({
  render () {
    return (
      <div>
        <ApToastStyle />
        <ApToast/>
      </div>
    )
  }
})

Components

ApErrorToast

Props

Name Type Default Description
messages []
icon 'fa fa-check-circle'
dismiss null
level 'error'

ApInfoToast

Props

Name Type Default Description
messages []
icon 'fa fa-exclamation-circle'
dismiss null
level 'info'

ApToastGroup

Props

Name Type Default Description
default arrayOf
info arrayOf []
error arrayOf []
warn arrayOf []
dismiss func

ApToastItem

Props

Name Type Default Description
text string
icon string

ApToastStyle

Props

Name Type Default Description
style object {}
normalColor string ApStyle.NORMAL_COLOR
infoColor string ApStyle.INFO_COLOR
warnColor string ApStyle.WARN_COLOR
errorColor string ApStyle.ERROR_COLOR
transitionDuration 100

ApToast

Props

Name Type Default Description
messages arrayOf []
icon string null
dismiss func null
level string 'default'
transitionTimeout 100

ApWarnToast

Props

Name Type Default Description
messages []
icon 'fa fa-warning'
dismiss null
level 'warn'

License

This software is released under the MIT License.

Links

Current Tags

  • 3.0.0                                ...           latest (4 years ago)

41 Versions

  • 3.0.0                                ...           4 years ago
  • 2.0.17                                ...           4 years ago
  • 2.0.16                                ...           4 years ago
  • 2.0.15                                ...           4 years ago
  • 2.0.14                                ...           4 years ago
  • 2.0.13                                ...           4 years ago
  • 2.0.12                                ...           4 years ago
  • 2.0.11                                ...           4 years ago
  • 2.0.10                                ...           4 years ago
  • 2.0.9                                ...           4 years ago
  • 2.0.8                                ...           4 years ago
  • 2.0.7                                ...           4 years ago
  • 2.0.6                                ...           4 years ago
  • 2.0.5                                ...           4 years ago
  • 2.0.4                                ...           4 years ago
  • 2.0.3                                ...           4 years ago
  • 2.0.2                                ...           4 years ago
  • 2.0.1                                ...           4 years ago
  • 2.0.0                                ...           4 years ago
  • 1.1.15                                ...           4 years ago
  • 1.1.14                                ...           4 years ago
  • 1.1.13                                ...           4 years ago
  • 1.1.12                                ...           4 years ago
  • 1.1.10                                ...           4 years ago
  • 1.1.9                                ...           4 years ago
  • 1.1.8                                ...           4 years ago
  • 1.1.7                                ...           4 years ago
  • 1.1.6                                ...           4 years ago
  • 1.1.5                                ...           4 years ago
  • 1.1.4                                ...           4 years ago
  • 1.1.3                                ...           4 years ago
  • 1.1.2                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.6                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.1                                ...           4 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 82
Last Day 0
Last Week 41
Last Month 82
Dependencies (8)
Dev Dependencies (26)

Copyright 2014 - 2016 © taobao.org |