0.3.3 • Published 1 year ago

@atomicjolt/hooks v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

Atomic Hooks

A Set of React Hooks for Atomic Jolt

Installation

npm install --save @atomicjolt/hooks
yarn add @atomicjolt/hooks

Documentation

Docs can be found here

Usage

import { useBool } from '@atomicjolt/hooks';

const Component = () => {
  const [bool, toggle] = useBool(false);

  return (
    <div>
      <button onClick={toggle}>Toggle</button>
      <p>Bool is {bool}</p>
    </div>
  );
};
0.3.0

1 year ago

0.3.2

1 year ago

0.3.1

1 year ago

0.3.3

1 year ago

0.2.0

2 years ago

0.1.0

3 years ago