|
|
@ -4,7 +4,8 @@ import React, { |
|
|
|
Fragment, |
|
|
|
Fragment, |
|
|
|
useEffect, |
|
|
|
useEffect, |
|
|
|
useReducer, |
|
|
|
useReducer, |
|
|
|
useRef |
|
|
|
useRef, |
|
|
|
|
|
|
|
useState |
|
|
|
} from 'react' |
|
|
|
} from 'react' |
|
|
|
|
|
|
|
|
|
|
|
import './remix-ui-vertical-icons-panel.css' |
|
|
|
import './remix-ui-vertical-icons-panel.css' |
|
|
@ -24,7 +25,7 @@ export function RemixUiVerticalIconsPanel ({ |
|
|
|
}: RemixUiVerticalIconsPanelProps) { |
|
|
|
}: RemixUiVerticalIconsPanelProps) { |
|
|
|
const scrollableRef = useRef<any>() |
|
|
|
const scrollableRef = useRef<any>() |
|
|
|
const iconPanelRef = useRef<any>() |
|
|
|
const iconPanelRef = useRef<any>() |
|
|
|
const udappPanelRef = useRef<any>() |
|
|
|
// const [first] = useState(localStorage.getItem('firstTime'))
|
|
|
|
|
|
|
|
|
|
|
|
function onThemeChanged (themeType: any) { |
|
|
|
function onThemeChanged (themeType: any) { |
|
|
|
const invert = themeType === 'dark' ? 1 : 0 |
|
|
|
const invert = themeType === 'dark' ? 1 : 0 |
|
|
|