@asyncapi/web-component
Version:
A web component for AsyncAPI specification. Based on @asyncapi/react-component.
13 lines (12 loc) • 489 B
TypeScript
import * as React from 'react';
import { AsyncApiProps } from '@asyncapi/react-component';
export interface AsyncApiWebComponentProps extends AsyncApiProps {
cssImportPath?: string;
schemaFetchOptions?: RequestInit;
schemaUrl: string;
}
export declare class AsyncApiWebComponent extends React.Component<AsyncApiWebComponentProps> {
private lastUrlCheck;
shouldComponentUpdate(nextProps: Readonly<AsyncApiWebComponentProps>): boolean;
render(): React.JSX.Element;
}