1.0.4 • Published 2 years ago

suspend-button-luckytree v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

suspend-button

a react suspend button 以前有位老兄很早发布了一这个组件(原作地址),很好用,在此表示感谢. 但是是基于移动端的,所以我把pc端也补上,顺便支持ts;

安装

npm i suspend-button-luckytree -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')
)

属性

属性名类型说明
imgString图片地址
styleobj样式
1.0.2

2 years ago

1.0.1

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

1.0.0

2 years ago