<button
className="btn btn-link text-muted dropdown-item"
onClick={linkEvent(this, this.handleEditClick)}
- data-tippy-content={i18n.t("edit")}
aria-label={i18n.t("edit")}
>
<Icon classes="mr-1" icon="edit" inline />
<button
className="btn btn-link text-muted dropdown-item"
onClick={linkEvent(this, this.handleDeleteClick)}
- data-tippy-content={label}
aria-label={label}
>
{this.state.deleteLoading ? (
classes={classNames("mr-1", { "text-danger": deleted })}
inline
/>
- {i18n.t("delete")}
+ {label}
</>
)}
</button>
<button
className="btn btn-link text-muted dropdown-item"
onClick={linkEvent(this, this.handleModLock)}
- data-tippy-content={label}
aria-label={label}
>
{this.state.lockLoading ? (
classes={classNames("mr-1", { "text-danger": locked })}
inline
/>
- {i18n.t("lock")}
+ {label}
</>
)}
</button>