Delete Button
A basic delete button with an icon.
Preview
Code
Delete
Dependencies
react-icons/fa
Installation
npm install react-icons
Props
Name
Type
Default
Description
label
string
Delete
The text label displayed on the button.
onClick
() => void
undefined
The callback to trigger when the button is clicked.
Brought to life by
Naseem Ansari
– Building Experiences that Inspire