@ipohjs/dev
TypeScript icon, indicating that this package has built-in type declarations

0.0.1-rc.1 • 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/dev

Weekly Downloads

0

Version

0.0.1-rc.1

License

MIT

Unpacked Size

61.7 kB

Total Files

12

Last publish

Collaborators

  • motss