Put your clippy in your react app as hook because why not?
MIT License
Put your clippy in your react app as hook because why not?
Seriously? Why not? Sounds like an amazing idea right? So we made it You are welcome 🌈
Made with @walaura
import useClippy from 'use-clippy-now'
function App() {
const withClippy = useClippy('Clippy')
return (
<button
onClick={() => withClippy(clippy => clippy.speak('SUPPP'))}
>
Clippy says
</button>
)
}
https://codesandbox.io/s/useclippy-46mi1
Yes, it also supports Clippy friends ofc:
withClippy(clippy => clippy.animate('CheckingSomething'))
Available Animations:
MIT