@plutojs/button

基础按钮组件

Usage no npm install needed!

<script type="module">
  import plutojsButton from 'https://cdn.skypack.dev/@plutojs/button';
</script>

README

@plutojs/button

基础按钮组件

Usage

import Button from '@plutojs/button';
import '@plutojs/button/build/index.css';

<Button className="test-btn" onClick={() => { alert('创建成功'); }}>按钮文字</Button>