zooid-ui-toast

Toast

zooid-ui-toast has been moved to zooid-toast
Last updated 4 years ago by octoblu .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install zooid-ui-toast 
SYNC missed versions from official npm registry.

zooid-ui-toast

React Toast Component

Install

npm install --save zooid-ui-toast

Props

Prop Type Default Description
message string Text to display. Keep it short.
timeout number 3000ms Display duration in milliseconds
className string Additional css classes for your toast

Example

import React, { Component } from 'react'
import Toast from 'zooid-ui-toast'

export default class App extends Component {
  render() {
    return <div>
      <h1>App</h1>
      <Toast message='hello world' timeout={5000}/>
    </div>
  }
}

Current Tags

  • 1.1.1                                ...           latest (4 years ago)

4 Versions

  • 1.1.1 [deprecated]           ...           4 years ago
  • 1.1.0 [deprecated]           ...           4 years ago
  • 1.0.2 [deprecated]           ...           4 years ago
  • 1.0.1 [deprecated]           ...           4 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 5
Dependencies (2)
Dev Dependencies (31)

Copyright 2014 - 2016 © taobao.org |