@kanalabs/kana-widget-v2
Version:
Kana Widget for cross-chain bridging and swap.
38 lines (37 loc) • 869 B
TypeScript
export interface WidgetConfigProps {
sdkKey: string;
containerStyle?: BoxStyle;
}
export interface WidgetConfig {
config: WidgetConfigProps;
}
export interface BoxStyle {
backgroundColor?: string;
primaryColor?: string;
secondaryColor?: string;
buttonColor?: string;
}
export interface ProgressType {
status: string | null;
hash: string | null;
completionPercentage: number;
completionTime: string;
}
export interface BridgingType {
status: string | null;
completionPercentage: number;
}
export declare enum NetworkName {
'none' = "None",
'solana' = "Solana",
'aptos' = "Aptos",
'polygon' = "Polygon",
'bsc' = "BSC",
'sui' = "Sui",
'ethereum' = "Ethereum",
'base' = "Base",
'klaytn' = "Klaytn",
'zkSync' = "Zksync",
'Avalanche' = "Avalanche",
'Arbitrum' = "Arbitrum"
}