@funkit/connect
Version:
Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.
9 lines (8 loc) • 391 B
TypeScript
import React from 'react';
export type InfoBannerProps = {
/** Contents of the banner. Pass plain text or a ReactNode (e.g., <Trans> for links/formatting). */
message: string | React.ReactNode;
type: 'warning' | 'alert' | 'announcement';
expireAtMs?: number;
};
export declare const InfoBanner: ({ message, type, }: Omit<InfoBannerProps, "expireAtMs">) => React.JSX.Element;