Created
April 25, 2020 12:13
-
-
Save FredrikOseberg/534e5d9eddffb29aad700afa13bda79f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Overview from "../components/widgets/Overview/Overview"; | |
import MessageParserDocs from "../components/widgets/docs/MessageParserDocs/MessageParserDocs"; | |
const config = { | |
..., | |
state: { | |
gist: "", | |
infoBox: "", | |
}, | |
widgets: [ | |
{ | |
widgetName: "overview", | |
widgetFunc: (props) => <Overview {...props} />, | |
mapStateToProps: ["gist"], | |
}, | |
{ | |
widgetName: "messageParser", | |
widgetFunc: (props) => <MessageParserDocs {...props} />, | |
mapStateToProps: ["gist", "infoBox"], | |
}, | |
], | |
}; | |
export default config; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment