How to use probs with preact

Hey,
how can i create Probs for Preact in Rescript, i am new to using JSX together with Rescript.
I mean for example onlick or onmousedown. Or other custom probs. Is there an way i could use events?

Can you show some js code you’re trying to convert?

Are you talking about probs or props?