File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " react-storefront" ,
3- "version" : " 7.11.0 " ,
3+ "version" : " 7.11.1 " ,
44 "description" : " Build and deploy e-commerce progressive web apps (PWAs) in record time." ,
55 "module" : " ./index.js" ,
66 "license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change @@ -127,11 +127,17 @@ export const styles = theme => ({
127127 /**
128128 * Styles applied to the expand icon element.
129129 */
130- expandIcon : { } ,
130+ expandIcon : {
131+ height : 24 ,
132+ width : 24 ,
133+ } ,
131134 /**
132135 * Styles applied to the collapse icon element.
133136 */
134- collapseIcon : { } ,
137+ collapseIcon : {
138+ height : 24 ,
139+ width : 24 ,
140+ } ,
135141} )
136142
137143const useStyles = makeStyles ( styles , { name : 'RSFExpandableSection' } )
@@ -250,12 +256,12 @@ ExpandableSection.propTypes = {
250256 /**
251257 * The icon to use for collapsed groups.
252258 */
253- ExpandIcon : PropTypes . object ,
259+ ExpandIcon : PropTypes . elementType ,
254260
255261 /**
256262 * The icon to use for expanded groups.
257263 */
258- CollapseIcon : PropTypes . object ,
264+ CollapseIcon : PropTypes . elementType ,
259265
260266 /**
261267 * If `false`, the default left and right margins are removed.
You can’t perform that action at this time.
0 commit comments