Skip to content

Commit

Permalink
feat(FOROME-1295): add reload icon
Browse files Browse the repository at this point in the history
  • Loading branch information
QSdmitrioul committed Jun 30, 2022
1 parent 5d94943 commit e882e39
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/components/data-testid/filter-dataset.cy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,5 @@ export const FilterDatasetDataCy = {
leftPanelHeader: 'panel-header',
leftPanelArrowButton: 'arrow-button',
datasetsListElem: 'list-element',
updateDatasets: 'update-datasets',
}
1 change: 1 addition & 0 deletions src/pages/main/components/sidebar/datasets.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const Datasets = (): ReactElement => {
<HandleDataset />
</div>
)}
<button>Hi</button>
<Button
dataTestId={FilterDatasetDataCy.leftPanelArrowButton}
size="sm"
Expand Down
2 changes: 2 additions & 0 deletions src/ui/icon/icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ import Loupe from './loupe'
import Options from './options'
import Rect from './rect'
import Redo from './redo'
import Reload from './reload'
import Settings from './settings'
import SettingsFat from './settings-fat'
import Sort from './sort'
Expand Down Expand Up @@ -82,6 +83,7 @@ export const icons = {
Options,
Rect,
Redo,
Reload,
Settings,
SettingsFat,
Sort,
Expand Down
23 changes: 23 additions & 0 deletions src/ui/icon/icons/reload.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import { Fragment } from 'react'

const size = 16

export default {
size,
viewBox: { w: size, h: size },
stroke: true,
content: (
<Fragment>
<path
d="M11.0107 6.23243H14.0107V3.23242"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path
d="M11.8891 11.8891C11.1199 12.6583 10.1399 13.1821 9.073 13.3943C8.0061 13.6065 6.90023 13.4976 5.89524 13.0813C4.89025 12.6651 4.03126 11.9601 3.42692 11.0556C2.82257 10.1512 2.5 9.0878 2.5 8C2.5 6.9122 2.82257 5.84884 3.42692 4.94437C4.03126 4.0399 4.89025 3.33495 5.89524 2.91866C6.90023 2.50238 8.0061 2.39346 9.073 2.60568C10.1399 2.8179 11.1199 3.34173 11.8891 4.11091L14.0104 6.23224"
strokeLinecap="round"
strokeLinejoin="round"
/>
</Fragment>
),
}

0 comments on commit e882e39

Please sign in to comment.