Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,17 @@ In order to add a svg to the button, you first need to create a vue component co
->svg('VueComponentName')
```

## Icons
In order to show the icons, you need to make sure they are imported in your project. You can use any icon font like [Font Awesome](https://fontawesome.com).

Example usage of FA:
In `layout.blade.php` add the CSS for FA.

Then just add the`->icon()` method on your action and specify the classes for rendering the icon `fas fa-info`.
```php
->icon('fas fa-info')
```

### Change button color

To change button color, use `buttonColor('#21b970')` method.
Expand Down
Loading