Skip to content

Commit

Permalink
move bgcolor example to main section
Browse files Browse the repository at this point in the history
  • Loading branch information
mfrances17 committed Jan 20, 2025
1 parent 796cd42 commit ad4c589
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 ad4c589

Please sign in to comment.