Open
Description
Describe the bug
The following code does not trigger the function when the button is clicked.
<Dropdown.Item renderAs={Button} onClick={(e) => handleSignOutClick(e)} > Sign Out</Dropdown.Item>
function handleSignOutclick(event) {
console.log("Triggered!");
//...
}
Versions
react-bulma-components:
4.1.0bulma:
0.9.4react:
18.2.0Browser:
Safari 16.2
Additional context
Note: I have also tried using renderAs values button
and Button
incase either fixed it, but this did not work.