DefinitelyTyped/types/react-gateway/GatewayDest.d.ts
Kamil Waheed 08cd3c3b36 Fix incorrectly typed GatewayDest's component prop in react-gateway (#27414)
* Use correct type for GatewayDestProps component

* Test react-gateway GatewayDest component prop type

* Add another test for react-gateway GatewayDest component prop type
2018-07-20 17:53:51 -07:00

12 lines
311 B
TypeScript

import * as React from 'react';
declare namespace GatewayDest {
interface GatewayDestProps {
name: string;
tagName?: string;
component?: string | React.ComponentClass;
}
}
declare class GatewayDest extends React.Component<GatewayDest.GatewayDestProps> { }
export = GatewayDest;