Is this the proper way to use React Hooks?

I am currently working on the Drum Machine project and I am thinking of using the Volume Knob React Hooks Component 3 to control the volume. Is this the proper way to use React Hooks? Thanks for any help and have a great day!

Btw, the Drum Machine with React Hooks and Redux 21 is what I have so far for the Drum Machine project. It will eventually be similar to the Drum Machine 56 With Web Audio API, which is not finished and is different because it uses class components. Both of them use Redux, though.