localConfig
An app state of local config currently loaded.
To get the notes state:
const { config } = inkdrop.store.getState()Or, to connect with your React component:
import { useSelector } from 'react-redux'
const selector = ({ config }) => config
const MyComponent = props => {
const config = useSelector(selector)
// render
}Can you help us improve these docs?
The source of these docs is here on GitHub. If you see a way these docs can be improved, please fork us!