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