mirror of
https://github.com/quine-global/hyper.git
synced 2026-01-13 12:38:39 -09:00
18 lines
280 B
JavaScript
18 lines
280 B
JavaScript
import React from 'react';
|
|
|
|
export default class Plugins extends React.Component {
|
|
|
|
componentDidMount () {
|
|
|
|
}
|
|
|
|
render () {
|
|
const child = React.Children.only(this.props.children);
|
|
return React.cloneElement(child, this.props);
|
|
}
|
|
|
|
componentWillUnmount () {
|
|
|
|
}
|
|
|
|
}
|