Skip to content

Commit

Permalink
fix(Toolbar): Fix formatting of Stacked example (#11426)
Browse files Browse the repository at this point in the history
* fix(Toolbar): fix formatting of stacked example

* move bgcolor example to main section
  • Loading branch information
mfrances17 authored Jan 20, 2025
1 parent 6733ef5 commit ffc6d88
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions packages/react-core/src/components/Toolbar/examples/Toolbar.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,14 @@ Note: This example does not demonstrate responsive toolbar behavior. Responsive

```

### Background color variants

To change the background color of a toolbar, use the `colorVariant` property on the `<Toolbar>`.

```ts file="./ToolbarColorVariant.tsx"

```

## Examples with toggle groups and filters

The following examples use toggle groups to allow for more responsive and complex toolbars with multiple items and groups of items. To visualize responsive toolbar behavior in the following examples, resize the browser to a smaller screen width.
Expand Down Expand Up @@ -112,11 +120,3 @@ When all of a toolbar's required elements cannot fit in a single line, you can s
```ts file="./ToolbarStacked.tsx"

```

## Background color variants

To change the background color of a toolbar, use the `colorVariant` property on the `<Toolbar>`.

```ts file="./ToolbarColorVariant.tsx"

```

0 comments on commit ffc6d88

Please sign in to comment.