@ipohjs/qwik-button

0.0.2 • Public • Published

@ipohjs/qwik-button

Button component used in @ipohjs, built with Qwik.


Buy me a coffee Follow me

npm-latest MIT License

Downloads Total downloads

Dependencies ci publish codecov

Code of Conduct

Yet another button component built with Qwik.

The stream-able and resumable UI component you will ever need. Visit @ipohjs/webui for more components.

Pre-requisite

Install

# Install via npm
$ pnpm install @ipohjs/qwik-button

# Install via pnpm
$ pnpm install @ipohjs/qwik-button

Usage

@ipohjs/qwik-button

import { QwikButton } from '@ipohjs/qwik-button';

export const Main = component$(() => {
  const onClick$ = $<QwikButtonProps['onClick$']>((ev) => {
    console.debug('click', ev);
  });

  return (
    <main>
      <QwikButton onClick$={onClick$}>Click me</QwikButton>
    </main>
  );
});

License

MIT License © @ipohjs/core-team

Package Sidebar

Install

npm i @ipohjs/qwik-button

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

9.57 kB

Total Files

7

Last publish

Collaborators

  • motss