New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

clippy-react

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

clippy-react

Microsoft's Clippy React component

latest
Source
npmnpm
Version
0.1.0
Version published
Maintainers
1
Created
Source

Clippy React

React wrapper around ClippyJS

Installation

npm install --save clippy-react

Usage

Currently there's only a ref version of the Clippy component. A declarative version is in the works.

import { Clippy } from "clippy-react";

export const Demo = () => {
  const clippy = useRef<Clippy>();

  const onClippyLoad = () => {
    if(clippy.current){
      clippy.current.show();
      clippy.current.speak('Hello World');
      clippy.current.play('GetTechy');
    }
  }

  return (
    <>
      <h1>Hello World</h1>
      <Clippy name="Clippy" ref={clippy} onLoad={onClippyLoad}>
    </>;
  );
}

Screenshot

Clippy

Keywords

clippy

FAQs

Package last updated on 16 Aug 2021

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