Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const styles = ({ state, config }) => {
- const layout = {
- myComponent: ({ state }) => ({
- // use the spread operator on the state
- ...state,
- ...
- }),
- ...
- }
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement