14 lines
573 B
TypeScript
14 lines
573 B
TypeScript
type Props = {
|
|
/** Name of the hidden status group (buildIntegrationStatusField). */
|
|
statusField: string;
|
|
/** Integration name shown in the banner, e.g. 'Turnstile'. */
|
|
label: string;
|
|
};
|
|
/**
|
|
* Status banner on an integration's tab (Site Integrations). Shows nothing until
|
|
* the integration has been used once; a red box while it's failing; a short
|
|
* green line once it works again.
|
|
*/
|
|
export declare function IntegrationStatusBanner({ statusField, label }: Props): import("react/jsx-runtime").JSX.Element | null;
|
|
export default IntegrationStatusBanner;
|