Skip to content

Commit

Permalink
add heading class and content class options
Browse files Browse the repository at this point in the history
  • Loading branch information
pxpm committed Apr 25, 2024
1 parent b410bee commit f51e812
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion 6.x/base-widgets.md
Original file line number Diff line number Diff line change
Expand Up @@ -402,9 +402,12 @@ Shows a Bootstrap jumbotron component, with the heading and body you specify.
[
'type' => 'jumbotron',
'heading' => 'Welcome!',
'content' => 'Use the sidebar to the left to create, edit or delete content.',
'content' => 'My magnific headline! Lets build something awesome together.',
'button_link' => backpack_url('logout'),
'button_text' => 'Logout',
// OPTIONAL:
'heading_class' => 'display-3 text-white',
'content_class' => 'text-white',
]
```

Expand Down

0 comments on commit f51e812

Please sign in to comment.