fibo / trunx

Super Saiyan React components, son of awesome Bulma
MIT License
64 stars 14 forks source link

add back onClick to button #32

Closed luhis closed 3 years ago

luhis commented 3 years ago

the onClick prop of the button component got lost in a refactoring. just adding it back in, so I can convert another project over from RBX

fibo commented 3 years ago

hi @luhis

thank you very much for spending your time debugging it and even patching and pulling it here.

I am sorry it broke, I did a wild refactoring ... Trunx is not yet released as a stable package yet, keep in mind that major version will be the same as Bulma major version, (so by now it is still zero :P)

published on npm registry as v0.38.2

please let me know if it is not fixed yet or something else is needed

PS I just added fallbackUI prop and ErrorBoundaries implementation, hope it can be useful to everyone.