🤖 Merge PR #45000 Added 'supportedSubmitMethods' missing type definition to 'swagger-ui-react' package by @KEC79

This commit is contained in:
KEC79 2020-05-23 05:07:02 +01:00 committed by GitHub
parent 78c2fa924f
commit 82cbc886fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 0 deletions

View File

@ -28,6 +28,7 @@ export interface SwaggerUIProps {
docExpansion?: 'list' | 'full' | 'none';
defaultModelExpandDepth?: number;
plugins?: Plugin[];
supportedSubmitMethods?: string[];
}
declare class SwaggerUI extends React.PureComponent<SwaggerUIProps> {}

View File

@ -17,5 +17,6 @@ import SwaggerUI from 'swagger-ui-react';
},
},
]}
supportedSubmitMethods={[]}
/>
</div>;