@xqui/button

1.0.2 • Public • Published

xq-button

A Web component for button

XqButtonProps {
  theme?: 'default' | 'primary' | 'default-bordered', // theme | default
  style?: string,    // css style string | ''
  disabled?: boolean // disabled | false
}

Usage

  • script
<script src="./qrcode.js"></script>
<xq-button value="duck" size='200'></xq-button>
  • es6+/modern lib(framework)
import React from 'react';
import '@xqui/button';

function Foo() {
  return (
    <xq-button value="duck" size='200' color="yellow"></xq-button>
  )
}

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i @xqui/button

      Weekly Downloads

      0

      Version

      1.0.2

      License

      ISC

      Unpacked Size

      6.51 kB

      Total Files

      5

      Last publish

      Collaborators

      • konglx