SHARE
TWEET

Untitled

a guest Jul 22nd, 2019 62 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <a target="_blank" @styled={css`...`} title="Home" @href={HOME_ROUTE} onClick={handleLinkClick}>Home</a>
  2.  
  3. // transpiles to
  4.  
  5. React.createElement(
  6.   ...href(HOME_ROUTE)(
  7.     ...styled(css`...`)(
  8.       'a',
  9.       { onClick: handleLinkClick, title: 'Home', target: '_blank' },
  10.       'Home'
  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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top