File tree Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Expand file tree Collapse file tree 1 file changed +18
-0
lines changed Original file line number Diff line number Diff line change @@ -23,11 +23,29 @@ import {
23
23
SelectPicker ,
24
24
SelectPickerOptionType ,
25
25
SelectPickerProps ,
26
+ SelectPickerVariantType ,
26
27
} from '@devtron-labs/devtron-fe-common-lib'
27
28
import { ReactComponent as ICEnv } from '@Icons/ic-env.svg'
28
29
29
30
const meta = {
30
31
component : SelectPicker ,
32
+ argTypes : {
33
+ variant : {
34
+ options : Object . values ( SelectPickerVariantType ) ,
35
+ control : { type : 'radio' } ,
36
+ } ,
37
+ size : {
38
+ options : Object . values ( ComponentSizeType ) ,
39
+ control : { type : 'select' } ,
40
+ } ,
41
+ menuSize : {
42
+ options : Object . values ( ComponentSizeType ) ,
43
+ control : { type : 'select' } ,
44
+ } ,
45
+ shouldMenuAlignRight : {
46
+ control : { type : 'boolean' } ,
47
+ } ,
48
+ } ,
31
49
} satisfies Meta < SelectPickerProps >
32
50
33
51
export default meta
You can’t perform that action at this time.
0 commit comments