From e2a6d607215f761a01e370b5e2600ce801d1fb09 Mon Sep 17 00:00:00 2001 From: MaggieCabrera Date: Tue, 4 Jun 2024 17:21:12 +0200 Subject: [PATCH] document new prop for the toolbar component --- packages/components/src/toolbar/toolbar/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/packages/components/src/toolbar/toolbar/README.md b/packages/components/src/toolbar/toolbar/README.md index 4ba7ac7d7db16c..de8f7a89d01ea3 100644 --- a/packages/components/src/toolbar/toolbar/README.md +++ b/packages/components/src/toolbar/toolbar/README.md @@ -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.