updated tick icon
This commit is contained in:
parent
d8eb2231be
commit
9afe465e91
|
@ -14,7 +14,7 @@ export default function TickIcon(props) {
|
|||
}
|
||||
|
||||
TickIcon.defaultProps = {
|
||||
height: 28,
|
||||
height: 20,
|
||||
width: 20,
|
||||
viewBox: '0 0 24 24',
|
||||
};
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Label, Value } from 'components/Container';
|
||||
import { Value } from 'components/Container';
|
||||
import TickIcon from 'components/icons/TickIcon';
|
||||
import React from 'react';
|
||||
import { ListGroup, Popover, Row } from 'react-bootstrap';
|
||||
|
@ -23,13 +23,13 @@ const SortByOptionCreator =
|
|||
(
|
||||
<MenuItem>
|
||||
<Row>
|
||||
<Label width="20px">
|
||||
<Value width="20px">
|
||||
{activeSortBy === props.sortBy && (
|
||||
<TickWrapper>
|
||||
<TickIcon />
|
||||
</TickWrapper>
|
||||
)}
|
||||
</Label>
|
||||
</Value>
|
||||
<Value width="165px">
|
||||
<MenuLink
|
||||
onClick={() => setCollectionSortBy(props.sortBy)}
|
||||
|
|
Loading…
Reference in a new issue