@lifi/widget
Version:
LI.FI Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
18 lines (17 loc) • 570 B
TypeScript
import type { LiFiStep, Step } from '@lifi/sdk';
import type { BoxProps } from '@mui/material';
import type { SubvariantOptions, WidgetFeeConfig, WidgetSubvariant } from '../../types/widget.js';
export interface StepActionsProps extends BoxProps {
step: LiFiStep;
dense?: boolean;
}
export interface StepDetailsLabelProps {
step: Step;
subvariant?: Extract<WidgetSubvariant, 'custom'>;
subvariantOptions?: SubvariantOptions;
feeConfig?: WidgetFeeConfig;
relayerSupport?: boolean;
}
export interface IncludedStepsProps {
step: LiFiStep;
}