Skip to content

Commit

Permalink
fix-bug(modal) : Convert the modal to a materialize button
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Dec 20, 2017
1 parent 261a14e commit 9adbddd
Showing 1 changed file with 4 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -122,16 +122,13 @@ class Book extends React.Component {
{this.props.isAdmin === true
? (
<div>
<Button
floating
icon="mode_edit"
<a
href="#admin-book-modal"
onClick={() => this.handleEdit(this.props.book)}
className="#f57c00 orange darken-2 book-icons-1 modal-trigger"
waves="light"
>
className="btn-floating #f57c00 orange waves-effect waves-light darken-2 book-icons-1 modal-trigger"
><i class="large material-icons">mode_edit</i>
Edit
</Button>
</a>

<Button
onClick={() => this.handleDelete(this.props.book.id)}
Expand Down

0 comments on commit 9adbddd

Please sign in to comment.