1.0.0 • Published 4 years ago

vue-ripple-button v1.0.0

Weekly downloads
-
License
MIT
Repository
-
Last release
4 years ago

English | 中文

vue-ripple-button

一个带波纹效果的vue按钮组件

Installation

$ npm install vue-ripple-button --save
$ yarn add vue-ripple-button

Usage

<script>
import RippleBtn from "vue-ripple-button";

export default {
  name: "RippleBtn",
  data() {
    return {};
  },
  methods: {},
  render() {
    const onClick = () => {
      console.log(23523);
    };

    return (
      <div class="container">
        <RippleBtn text="1312312311" {...{ on: { onclick: onClick } }} />
      </div>
    );
  }
};
</script>
<style>
</style>

License

MIT