Events
Small handlers that can be passed directly to event props.
eventPreventDefault- callsevent.preventDefault()eventStopPropagation- callsevent.stopPropagation()eventPreventStop- calls both
import { Div, Button, eventStopPropagation } from "react-better-html";
function Row() {
return (
<Div.row onClick={openDetails}>
...
<Div onClick={eventStopPropagation}>
<Button.icon icon="trash" onClick={deleteRow} />
</Div>
</Div.row>
);
}