Socket
Book a DemoInstallSign in
Socket

@react95/clippy

Package Overview
Dependencies
Maintainers
0
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@react95/clippy

Our old good friend Clippy as a React Hook!

latest
Source
npmnpm
Version
2.0.2
Version published
Maintainers
0
Created
Source

Clippy agent

@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, in which you can find all the details you'll need.
  • clippyts providing all types of it.

Keywords

React95

FAQs

Package last updated on 17 Sep 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts