@yosgo/swap-ui
Version:
SWAP UI Framework. www.swap.work
19 lines (18 loc) • 447 B
TypeScript
/// <reference types="react" />
export interface SWAPDialogProps {
status: "success" | "warning" | "critical";
title: string;
helpText?: string;
open: boolean;
primaryButton: {
title: string;
onClick: () => void;
disabled?: boolean;
};
secondaryButton?: {
title: string;
onClick: () => void;
disabled?: boolean;
};
children?: React.ReactNode;
}