2.0.2 • Published 10 months ago
@react95/clippy v2.0.2
@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
2.0.3-alpha.0
10 months ago
2.0.2
10 months ago
2.0.1
10 months ago
2.0.0
10 months ago
1.0.11
2 years ago
1.0.13
2 years ago
1.0.12
2 years ago
1.0.10
2 years ago
1.0.9
3 years ago
1.0.8
3 years ago
1.0.7
3 years ago
1.0.6-alpha.0
3 years ago
1.0.6
3 years ago
1.0.5
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.1
4 years ago
1.0.0
4 years ago
0.1.2-alpha.0
4 years ago
0.1.1
5 years ago
0.1.0
5 years ago