Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React from 'react'
- import { withTheme } from 'styled-components'
- import { withSize } from 'react-sizeme'
- class ThreeScene extends React.Component {
- constructor(props) {}
- render() {}
- componentDidMount() {}
- componentWillUnmount() {}
- animate = () => {}
- componentWillReceiveProps({ size: { width, height } }) {}
- }
- const WrappedScene = withTheme(withSize({ monitorHeight: true })(ThreeScene))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement