@synapsecns/widget
Version:
Widget library for interacting with the Synapse Protocol
19 lines (18 loc) • 741 B
TypeScript
/**
* Displays warning message triggered by start and end time.
* Renders for selected origin and/or destination chain IDs.
*/
export declare const MaintenanceWarningMessage: ({ originChainId, destinationChainId, startDate, endDate, pausedOriginChains, pausedDestinationChains, warningMessage, disabled, }: {
originChainId: number;
destinationChainId: number;
startDate: Date;
endDate: Date;
pausedOriginChains: number[];
pausedDestinationChains: number[];
warningMessage: any;
disabled?: boolean;
}) => import("react/jsx-runtime").JSX.Element;
export declare const WarningMessage: ({ header, message, }: {
header?: string;
message?: React.ReactNode;
}) => import("react/jsx-runtime").JSX.Element;