File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,11 @@ import {
27
27
} from '@devtron-labs/devtron-fe-common-lib'
28
28
import { ReactComponent as ICEnv } from '@Icons/ic-env.svg'
29
29
30
+ const SELECT_PICKER_LAYOUT_MAP : Record < SelectPickerProps [ 'layout' ] , null > = {
31
+ row : null ,
32
+ column : null ,
33
+ }
34
+
30
35
const meta = {
31
36
component : SelectPicker ,
32
37
argTypes : {
@@ -45,6 +50,10 @@ const meta = {
45
50
shouldMenuAlignRight : {
46
51
control : { type : 'boolean' } ,
47
52
} ,
53
+ layout : {
54
+ options : Object . keys ( SELECT_PICKER_LAYOUT_MAP ) ,
55
+ control : { type : 'select' } ,
56
+ } ,
48
57
} ,
49
58
} satisfies Meta < SelectPickerProps >
50
59
@@ -72,6 +81,7 @@ export const Default: Story = {
72
81
size : ComponentSizeType . medium ,
73
82
menuSize : ComponentSizeType . small ,
74
83
shouldMenuAlignRight : false ,
84
+ layout : 'column' ,
75
85
} ,
76
86
}
77
87
You can’t perform that action at this time.
0 commit comments