JSPM

suspend-button

0.1.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 98
  • Score
    100M100P100Q96048F
  • License MIT

react suspend button

Package Exports

  • suspend-button

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (suspend-button) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

suspend-button

a react suspend button

安装

npm install suspend-button -S

使用

import React, { Component } from 'react'
import ReactDOM from 'react-dom'
import SuspendButton from 'suspend-button'

class App extends Component {
  render() {
    return (
      <SuspendButton></SuspendButton>
    )
  }
}

ReactDOM.render(
  <App />,
  document.getElementById('container')
)

属性

属性名 类型 说明
img String 图片地址
style obj 样式