Fix NotTranslatedPropsTest issue (GroupButton empty title)
This commit is contained in:
parent
8c5ada9507
commit
36fa63c947
@ -162,7 +162,7 @@ class GroupButton extends React.Component {
|
||||
{label}
|
||||
</StyledDropdownToggle>
|
||||
)}
|
||||
{isSeparator && <Separator title="" />}
|
||||
{isSeparator && <Separator />}
|
||||
</StyledGroupButton>
|
||||
);
|
||||
}
|
||||
|
@ -84,7 +84,9 @@ const Caret = styled.div`
|
||||
`}
|
||||
`;
|
||||
|
||||
const Separator = styled.div`
|
||||
const Separator = styled.div.attrs(() => ({
|
||||
title: "",
|
||||
}))`
|
||||
vertical-align: middle;
|
||||
border: ${(props) => props.theme.groupButton.separator.border};
|
||||
width: ${(props) => props.theme.groupButton.separator.width};
|
||||
|
Loading…
Reference in New Issue
Block a user