Delete Button

A basic delete button with an icon.

Delete

Dependencies

react-icons/fa

Installation

npm install react-icons

Props

NameTypeDefaultDescription
labelstringDeleteThe text label displayed on the button.
onClick() => voidundefinedThe callback to trigger when the button is clicked.
Brought to life by Naseem Ansari – Building Experiences that Inspire