You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
366 B
16 lines
366 B
import RemoveIcon from "../../assets/icon/remove.svg?react"
|
|
import "../../style/actions/remove_action.css"
|
|
|
|
export interface RemoveActionProps {
|
|
onRemove: () => void
|
|
}
|
|
|
|
export default function RemoveAction({ onRemove }: RemoveActionProps) {
|
|
return (
|
|
<RemoveIcon
|
|
className="remove-action"
|
|
onClick={onRemove}
|
|
/>
|
|
)
|
|
}
|