SHARE
TWEET

Untitled

a guest Jul 12th, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. const styles = ({ state, config }) => {
  2.   const layout = {
  3.     myComponent: ({ state }) => ({
  4.       // use the spread operator on the state
  5.       ...state,
  6.      
  7.       ...
  8.     }),
  9.     ...
  10.   }
  11.  
  12.   ...
  13. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top