Microsoft's Clippy React component
npm install clippy-reactReact wrapper around ClippyJS
``bash`
npm install --save clippy-react
Currently there's only a ref version of the Clippy component. A declarative version is in the works.
`tsx
import { Clippy } from "clippy-react";
export const Demo = () => {
const clippy = useRef
const onClippyLoad = () => {
if(clippy.current){
clippy.current.show();
clippy.current.speak('Hello World');
clippy.current.play('GetTechy');
}
}
return (
<>