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