diff options
author | 2020-06-08 12:10:14 +0200 | |
---|---|---|
committer | 2020-06-08 12:10:14 +0200 | |
commit | 513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8 (patch) | |
tree | d9f120b92639ed13f1e293e3b82d0be0251cfaa1 /source/features/toggle-files-button.tsx | |
parent | 13ed4a8ef04b3b9490aa485a27ad077a10fdd32f (diff) | |
download | refined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.tar.gz refined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.tar.zst refined-github-513a46d2a9b55f65e9ab76a1c21a3f86a69abcb8.zip |
Use fold/unfold octicons for `toggle-files-button` (#3191)
Diffstat (limited to 'source/features/toggle-files-button.tsx')
-rw-r--r-- | source/features/toggle-files-button.tsx | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/source/features/toggle-files-button.tsx b/source/features/toggle-files-button.tsx index 336708f1..da3659ea 100644 --- a/source/features/toggle-files-button.tsx +++ b/source/features/toggle-files-button.tsx @@ -3,7 +3,9 @@ import React from 'dom-chef'; import select from 'select-dom'; import delegate from 'delegate-it'; import * as pageDetect from 'github-url-detection'; -import ChevronDownIcon from 'octicon/chevron-down.svg'; + +import FoldIcon from 'octicon/fold.svg'; +import UnfoldIcon from 'octicon/unfold.svg'; import features from '.'; import observeElement from '../helpers/simplified-element-observer'; @@ -22,7 +24,8 @@ function addButton(): void { aria-label="Toggle files section" aria-expanded="true" > - <ChevronDownIcon/> + <FoldIcon/> + <UnfoldIcon/> </button> ); } |