gl-react
Version:
Universal React library, write and compose WebGL shaders, implement complex effects using a descriptive paradigm
22 lines • 587 B
TypeScript
import { Component } from "react";
import Node from "./Node";
type Props = {
children?: any;
[key: string]: any;
};
/**
* copy pixel with no interpolation (nearest pixel)
* @prop {any} children content to render
*/
declare class NearestCopy extends Component<Props> {
_node: Node | null;
/**
* get a reference to the underlying Node instance
* @return {Node}
*/
getNodeRef(): Node;
_onRef: (node: Node | null) => void;
render(): import("react/jsx-runtime").JSX.Element;
}
export default NearestCopy;
//# sourceMappingURL=NearestCopy.d.ts.map