//@flow import React, { Component } from "react"; import Node from "./Node"; import copyShader from "./copyShader"; type Props = { children?: any, }; /** * copy pixel with a linear interpolation * @prop {any} children content to render */ class LinearCopy extends Component { _node: ?Node; /** * get a reference to the underlying Node instance * @return {Node} */ getNodeRef() { return this._node; } _onRef = (node: ?Node) => { this._node = node; }; render() { const { children: t, ...rest } = this.props; return ( ); } } export default LinearCopy;