PATH:
home
/
lab2454c
/
carbonbullionexchange.com
/
wp-content
/
plugins
/
elementor
/
app
/
assets
/
js
import { useState } from 'react'; export const AppContext = React.createContext(); export default function AppProvider( props ) { const initialState = { isDarkMode: document.body.classList.contains( `eps-theme-dark` ), }, [ state, setState ] = useState( initialState ); return ( <AppContext.Provider value={ { state, setState } }> { props.children } </AppContext.Provider> ); } AppProvider.propTypes = { children: PropTypes.object.isRequired, };
[+]
ui
[+]
loader
[-] _app-api.scss
[edit]
[+]
event-track
[+]
hooks
[+]
..
[-] package.js
[edit]
[-] app.js
[edit]
[+]
utils
[-] app-packages.js
[edit]
[-] app-loader.js
[edit]
[+]
organisms
[-] app-context.js
[edit]
[-] app.scss
[edit]
[+]
layout
[-] index.js
[edit]
[+]
pages
[-] router.js
[edit]
[+]
molecules
[+]
url-actions