Web: Components: EmailInput, GroupButtonsMenu : Fixed ESLint validation for props
This commit is contained in:
parent
fc76acf31f
commit
a15e1756d3
@ -13,6 +13,7 @@ const TextInputWrapper = ({
|
||||
onValidateInput,
|
||||
isValidEmail,
|
||||
emailSettings,
|
||||
customValidate,
|
||||
...props
|
||||
}) => <TextInput {...props}></TextInput>;
|
||||
/* eslint-enable react/prop-types */
|
||||
|
@ -16,7 +16,7 @@ const StyledGroupButtonsMenu = styled.div`
|
||||
height: 57px;
|
||||
list-style: none;
|
||||
padding: 0 18px 19px 0;
|
||||
width: ${props => props.width ? props.width + 'px' : '100%'};;
|
||||
width: ${props => props.containerWidth ? props.containerWidth + 'px' : '100%'};;
|
||||
white-space: nowrap;
|
||||
display: ${props => props.visible ? 'block' : 'none'};
|
||||
z-index: 195;
|
||||
@ -179,7 +179,7 @@ class GroupButtonsMenu extends React.PureComponent {
|
||||
const { priorityItems, moreItems, visible, width } = this.state;
|
||||
|
||||
return (
|
||||
<StyledGroupButtonsMenu id="groupMenuOuter" visible={visible} width={width} >
|
||||
<StyledGroupButtonsMenu id="groupMenuOuter" visible={visible} containerWidth={width} >
|
||||
<GroupMenuWrapper id="groupMenu">
|
||||
{priorityItems.map((item, i) =>
|
||||
<GroupButton
|
||||
|
Loading…
Reference in New Issue
Block a user