mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Use correct type for GatewayDestProps component * Test react-gateway GatewayDest component prop type * Add another test for react-gateway GatewayDest component prop type
12 lines
311 B
TypeScript
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;
|