dej611 / spid-react-button

Pulsante SSO per SPID in React
https://dej611.github.io/spid-react-button/
European Union Public License 1.2
19 stars 15 forks source link

Drop dependency + new argument for clicked handler #17

Closed dej611 closed 3 years ago

dej611 commented 3 years ago

Fixes: #5

This PR drops the dependency on the spid-smart-button package, keeping it as dev dependency only.

It also introduces a new argument for the onClickProvider handler, the final URL computed with the mapping object. and it solves a bug about it for the dropdown version.