File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -147,11 +147,11 @@ EmojiListItems.propTypes = {
147147 ] ) . isRequired ,
148148 parentRef : PropTypes . oneOfType ( [
149149 PropTypes . func ,
150- PropTypes . shape ( { current : PropTypes . instanceOf ( Element ) } ) ,
150+ PropTypes . shape ( { current : PropTypes . instanceOf ( PropTypes . element ) } ) ,
151151 ] ) . isRequired ,
152152 parentContainRef : PropTypes . oneOfType ( [
153153 PropTypes . func ,
154- PropTypes . shape ( { current : PropTypes . instanceOf ( Element ) } ) ,
154+ PropTypes . shape ( { current : PropTypes . instanceOf ( PropTypes . element ) } ) ,
155155 ] ) . isRequired ,
156156 spaceFromTrigger : PropTypes . shape ( {
157157 x : PropTypes . number ,
Original file line number Diff line number Diff line change @@ -140,11 +140,11 @@ MenuItems.propTypes = {
140140 // https://stackoverflow.com/a/51127130
141141 parentRef : PropTypes . oneOfType ( [
142142 PropTypes . func ,
143- PropTypes . shape ( { current : PropTypes . instanceOf ( Element ) } ) ,
143+ PropTypes . shape ( { current : PropTypes . instanceOf ( PropTypes . element ) } ) ,
144144 ] ) . isRequired ,
145145 parentContainRef : PropTypes . oneOfType ( [
146146 PropTypes . func ,
147- PropTypes . shape ( { current : PropTypes . instanceOf ( Element ) } ) ,
147+ PropTypes . shape ( { current : PropTypes . instanceOf ( PropTypes . element ) } ) ,
148148 ] ) . isRequired ,
149149 openLeft : PropTypes . bool ,
150150} ;
You can’t perform that action at this time.
0 commit comments