Skip to content

Commit

Permalink
various changes and chores
Browse files Browse the repository at this point in the history
  • Loading branch information
mhawkinsbasis committed Oct 2, 2023
1 parent fa41e42 commit 37d2650
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
sidebar_position: 0
title: bbj-icon
title: Icons
sidebar_class_name: sidebar--item__hidden
slug: bbj-icon
---
Expand Down
2 changes: 1 addition & 1 deletion docs/components/button.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ Button submit = new Button("Submit");

In addition to, or instead of having text on a button, it is possible to add an icon to a button as well. To add these icons, set the button's text to have an `<html>` tag, with a `<bbj-icon>` tag inside with the name attribute set accordingly. In addition to an icon, include text to the left or right of the `<bbj-icon>` tag to include a label as well. Icons added to the left and/or right of the button should be done using the `prefix` and `suffix` slots.

To read more about customizing, configuring and styling icons, read [**this page**](../components/related-components/bbj-icon).
To read more about customizing, configuring and styling icons, read [**this page**](../components/bbj-icon).

:::tip
Icons added in this way will automatically be configured to match the theme of the Button, but need to be manually configured if a different sized icon is desired when changing `Button` expanse.
Expand Down

0 comments on commit 37d2650

Please sign in to comment.