|
|
@ -128,7 +128,6 @@ export default class Input extends React.Component<InputProps, any> { |
|
|
|
|
|
|
|
// Need another wrapper for changing display:table to display:inline-block
|
|
|
|
// and put style prop in wrapper
|
|
|
|
if (addonBefore || addonAfter) { |
|
|
|
return ( |
|
|
|
<span |
|
|
|
className={groupClassName} |
|
|
@ -142,14 +141,6 @@ export default class Input extends React.Component<InputProps, any> { |
|
|
|
</span> |
|
|
|
); |
|
|
|
} |
|
|
|
return ( |
|
|
|
<span className={className}> |
|
|
|
{addonBefore} |
|
|
|
{children} |
|
|
|
{addonAfter} |
|
|
|
</span> |
|
|
|
); |
|
|
|
} |
|
|
|
|
|
|
|
renderLabeledIcon(children: React.ReactElement<any>) { |
|
|
|
const { props } = this; |
|
|
|