summaryrefslogtreecommitdiff
path: root/source/features/toggle-files-button.tsx
diff options
context:
space:
mode:
authorGravatar Federico Brigante <github@bfred.it> 2019-12-15 23:11:52 +0700
committerGravatar GitHub <noreply@github.com> 2019-12-15 23:11:52 +0700
commitbbc5ec21f08ac20e24ae6a7650c434dbc120c788 (patch)
tree1bfa24d0ce530737869fac6dfec7d7f697c8ce7b /source/features/toggle-files-button.tsx
parent126a5f90e52ef8649c97c6e78064aad152e14cb8 (diff)
downloadrefined-github-bbc5ec21f08ac20e24ae6a7650c434dbc120c788.tar.gz
refined-github-bbc5ec21f08ac20e24ae6a7650c434dbc120c788.tar.zst
refined-github-bbc5ec21f08ac20e24ae6a7650c434dbc120c788.zip
Use `@primer/octicons` package instead of curating icons.tsx (#2610)
Diffstat (limited to 'source/features/toggle-files-button.tsx')
-rw-r--r--source/features/toggle-files-button.tsx4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/features/toggle-files-button.tsx b/source/features/toggle-files-button.tsx
index ce3952d7..8f2528c4 100644
--- a/source/features/toggle-files-button.tsx
+++ b/source/features/toggle-files-button.tsx
@@ -2,8 +2,8 @@ import './toggle-files-button.css';
import React from 'dom-chef';
import select from 'select-dom';
import delegate from 'delegate-it';
+import chevronDownIcon from 'octicon/chevron-down.svg';
import features from '../libs/features';
-import * as icons from '../libs/icons';
import observeEl from '../libs/simplified-element-observer';
function addButton(): void {
@@ -18,7 +18,7 @@ function addButton(): void {
className="btn-octicon rgh-toggle-files"
aria-label="Toggle files section"
aria-expanded="true">
- {icons.chevronDown()}
+ {chevronDownIcon()}
</button>
);
}