File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11{
2- "version" : " 0.3.11 " ,
2+ "version" : " 0.3.12 " ,
33 "name" : " antd-phone-input" ,
44 "description" : " Advanced, highly customizable phone input component for Ant Design." ,
55 "keywords" : [
Original file line number Diff line number Diff line change @@ -242,21 +242,21 @@ const PhoneInput = forwardRef(({
242242 value = { selectValue }
243243 style = { { display : "none" } }
244244 key = { `${ countryCode } _default` }
245- label = { < >
245+ label = { < div style = { { display : "flex" } } >
246246 < div className = { `flag ${ countryCode } ` } />
247247 { suffixIcon }
248- </ > }
248+ </ div > }
249249 />
250250 { countriesList . map ( ( [ iso , name , dial , pattern ] ) => {
251251 const mask = disableParentheses ? pattern . replace ( / [ ( ) ] / g, "" ) : pattern ;
252252 return (
253253 < Select . Option
254254 value = { iso + dial }
255255 key = { `${ iso } _${ mask } ` }
256- label = { < >
256+ label = { < div style = { { display : "flex" } } >
257257 < div className = { `flag ${ iso } ` } />
258258 { suffixIcon }
259- </ > }
259+ </ div > }
260260 children = { < div className = { `${ prefixCls } -phone-input-select-item` } >
261261 < div className = { `flag ${ iso } ` } />
262262 { countries [ name ] } { displayFormat ( mask ) }
You can’t perform that action at this time.
0 commit comments