File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed
components/picker/stories Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -97,7 +97,7 @@ export default {
97
97
} ,
98
98
isHovered,
99
99
isActive,
100
- content : { table : { disable : true } } ,
100
+ popoverContent : { table : { disable : true } } ,
101
101
} ,
102
102
args : {
103
103
rootClass : "spectrum-Picker" ,
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ export const Template = ({
109
109
size = "m" ,
110
110
label,
111
111
labelPosition = "top" ,
112
+ placeholder,
112
113
helpText,
113
114
isQuiet = false ,
114
115
isOpen = false ,
@@ -125,7 +126,7 @@ export const Template = ({
125
126
// Helps ensure that Popover appears below the Picker, with side labels layout.
126
127
display : "block" ,
127
128
} ,
128
- content = [ ] ,
129
+ popoverContent = [ ] ,
129
130
} = { } , context = { } ) => {
130
131
const pickerMarkup = Picker ( {
131
132
size,
@@ -134,17 +135,18 @@ export const Template = ({
134
135
isInvalid,
135
136
isDisabled,
136
137
isLoading,
137
- content,
138
+ placeholder,
139
+ popoverContent,
138
140
labelPosition,
139
141
ariaLabeledBy : fieldLabelId ,
140
142
} , context ) ;
141
143
142
- const popoverMarkup = content . length !== 0 ? Popover ( {
144
+ const popoverMarkup = popoverContent . length !== 0 ? Popover ( {
143
145
isOpen : isOpen && ! isDisabled && ! isLoading ,
144
146
withTip : false ,
145
147
position : "bottom" ,
146
148
isQuiet,
147
- content,
149
+ content : popoverContent ,
148
150
size,
149
151
customStyles : customPopoverStyles ,
150
152
} , context ) : "" ;
You can’t perform that action at this time.
0 commit comments