Skip to content

Commit

Permalink
document new prop for the toolbar component
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieCabrera committed Jun 4, 2024
1 parent f3e19b0 commit d3a08b5
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/components/src/toolbar/toolbar/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,15 @@ Leave undefined for the default style. Or `'unstyled'` which removes the border
- Required: No
- Default: `undefined`

#### `orientation`: `'horizontal' | 'vertical'`

Specifies the toolbar's orientation.

Leave undefined or 'horizontal' for horizontal orientation keyboard interactions, choose 'vertical' for the alternative.

- Required: No
- Default: `horizontal`

## Related components

- Toolbar may contain [ToolbarGroup](/packages/components/src/toolbar-group/README.md), [ToolbarButton](/packages/components/src/toolbar-button/README.md) and [ToolbarItem](/packages/components/src/toolbar-Item/README.md) as children.

0 comments on commit d3a08b5

Please sign in to comment.