1.0.13 • Published 7 months ago

@react95/clippy v1.0.13

Weekly downloads
39
License
MIT
Repository
github
Last release
7 months ago

@react95/clippy

Using Clippy and its friends in your React Application it has never been easier!

Instalation

yarn add @react95/clippy

Usage

import { useClippy, ClippyProvider } from '@react95/clippy';

const MyComponent = () => {
  const { clippy } = useClippy();

  return <Button onClick={() => clippy.play('Wave')}>Hello Clippy!</Button>;
};

const App = () => (
  <ClippyProvider>
    <MyComponent />
  </ClippyProvider>
);

Changing the Agent

import { AGENTS } from '@react95/clippy';

const App = () => (
  <ClippyProvider agentName={AGENTS.MERLIN}>
    <MyComponent />
  </ClippyProvider>
);

API and Special thanks

This package only exposes the brilliant job done in clippyjs project, which you can find all details you'll need.

1.0.11

9 months ago

1.0.13

7 months ago

1.0.12

7 months ago

1.0.10

1 year ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.7

2 years ago

1.0.6-alpha.0

2 years ago

1.0.6

2 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago

0.1.2-alpha.0

3 years ago

0.1.1

4 years ago

0.1.0

4 years ago