From e52fb1048272a59cb0609001bfef27a34267f668 Mon Sep 17 00:00:00 2001 From: Brandon Dow Date: Tue, 11 Jun 2024 12:25:10 -0400 Subject: [PATCH] fix: Expose 'multiline' prop for TreeSelectField --- src/inputs/TreeSelectField/TreeSelectField.stories.tsx | 9 +++++++++ src/inputs/TreeSelectField/TreeSelectField.tsx | 2 ++ 2 files changed, 11 insertions(+) diff --git a/src/inputs/TreeSelectField/TreeSelectField.stories.tsx b/src/inputs/TreeSelectField/TreeSelectField.stories.tsx index 90782d92e..e684cb6b8 100644 --- a/src/inputs/TreeSelectField/TreeSelectField.stories.tsx +++ b/src/inputs/TreeSelectField/TreeSelectField.stories.tsx @@ -55,6 +55,15 @@ function Template(args: TreeSelectFieldProps) { label="Multiple options selected" /> + + extends BeamFocusableP /** Whether to have all groups collapsed on initial load. Can also be configured individually, which overrides this behavior. * @default false */ defaultCollapsed?: boolean; + /** Allow the field's height to grow up to a predefined height (currently 72px), then scroll. */ + multiline?: boolean; } export function TreeSelectField(props: TreeSelectFieldProps): JSX.Element;