import React from 'react' ; import invariant from 'invariant' ; function NodeType ( { type , component } ) { invariant ( false , '<NodeType> elements are for DataFlow configuration only and should not be rendered' ) ; return null ; } NodeType . displayName = 'NodeType' ; export default NodeType ;