cassiozen / useStateMachine

The <1 kb state machine hook for React
MIT License
2.38k stars 47 forks source link

How to get the type for state and send? #93

Open Bijig0 opened 4 months ago

Bijig0 commented 4 months ago

I've got useStateMachine in a parent component and want to send it down as props. How can I get the type for state and send?