Skip to content

Commit

Permalink
Add code example for setting notice status
Browse files Browse the repository at this point in the history
  • Loading branch information
daun committed Jan 3, 2020
1 parent 35e9299 commit 9856683
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -203,12 +203,19 @@ Display a notice with icon and actions. If set, the panel's `title` will be disp
#### Example

```php
/* Plain with actions */
[
'message' => 'You have <b>15</b> new messages.',
'actions' => [
'See all' => '/inbox/',
],
]

/* With status */
[
'message' => 'Something went wrong.',
'status' => 'error',
]
```

### Number
Expand Down

0 comments on commit 9856683

Please sign in to comment.