Closed Wanhenri closed 4 years ago
<Button
style={{marginBottom: 3, backgroundColor: "var(--color-first)" }}
onClick={() => {
refreshPage();
props.onSubmit(row.id)}}
>DELETE
</Button>
in API:
and in APP:
How to add delete button in APP?? It is working, but it is deleting the value being passed and not in the 'event click'