File tree Expand file tree Collapse file tree 1 file changed +16
-1
lines changed
Expand file tree Collapse file tree 1 file changed +16
-1
lines changed Original file line number Diff line number Diff line change 11import React , { useEffect , useState } from 'react' ;
2+ import { IconContext } from 'react-icons' ;
3+ import { MdOutlineColorLens } from 'react-icons/md' ;
24import Select , { ActionMeta , SingleValue } from 'react-select' ;
35import Switch from 'react-switch' ;
46import styled from 'styled-components' ;
@@ -104,7 +106,7 @@ export const Console: React.FC<Props> = () => {
104106 return (
105107 < MainContainer >
106108 < TitleWrapper >
107- < Title > Select Favorite List Maker</ Title >
109+ < Title > Select Favorite Maker</ Title >
108110 < SwitchLabel >
109111 < Switch
110112 checked = { indentLining }
@@ -120,6 +122,11 @@ export const Console: React.FC<Props> = () => {
120122 < Spacer width = { 6 } />
121123 < span > Indent Visible</ span >
122124 </ SwitchLabel >
125+ < IconContext . Provider
126+ value = { { size : '20px' , style : { padding : '2px' } } }
127+ >
128+ < ColorLens />
129+ </ IconContext . Provider >
123130 </ TitleWrapper >
124131 < IndentContainer >
125132 { indentOptions . map ( ( indentOption ) => {
@@ -149,6 +156,14 @@ export const Console: React.FC<Props> = () => {
149156 ) ;
150157} ;
151158
159+ const ColorLens = styled ( MdOutlineColorLens ) `
160+ color: #00b428;
161+ :hover {
162+ color: #b4008c;
163+ cursor: pointer;
164+ }
165+ ` ;
166+
152167const MainContainer = styled . div `
153168 background-color: #dcdde0;
154169 padding: 4px;
You can’t perform that action at this time.
0 commit comments