SHARE
TWEET

Untitled

a guest May 22nd, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import React from 'react'
  2. import { withTheme } from 'styled-components'
  3. import { withSize } from 'react-sizeme'
  4.  
  5. class ThreeScene extends React.Component {
  6.   constructor(props) {}
  7.   render() {}
  8.  
  9.   componentDidMount() {}
  10.  
  11.   componentWillUnmount() {}
  12.  
  13.   animate = () => {}
  14.  
  15.   componentWillReceiveProps({ size: { width, height } }) {}
  16. }
  17.  
  18. const WrappedScene = withTheme(withSize({ monitorHeight: true })(ThreeScene))
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