Skip to content

Button icon #604

Answered by akulmehta
joaonivaldo asked this question in Q&A
Sep 2, 2022 · 1 comments · 1 reply
Discussion options

You must be logged in to vote

You can do something like:

                Button::make('delete', '<i class="fa fa-trash"></i>') // the Font Awesome icon code is sent as the second parameter.
                    ->class('btn btn-outline-danger')
                    ->route('posts.remove', ['post' => 'id'])
                    ->target('_self')
                    ->tooltip('Delete Record')

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@joaonivaldo
Comment options

Answer selected by dansysanalyst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants