0.3.3 • Published 7 months ago

@atomicjolt/hooks v0.3.3

Weekly downloads
-
License
MIT
Repository
-
Last release
7 months 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

10 months ago

0.3.2

10 months ago

0.3.1

10 months ago

0.3.3

7 months ago

0.2.0

1 year ago

0.1.0

2 years ago