@openocean.finance/widget
Version:
Openocean Widget for cross-chain bridging and swapping. It will drive your multi-chain strategy and attract new users from everywhere.
25 lines (21 loc) • 588 B
text/typescript
import type { BoxProps } from '@mui/material'
import type { OpenOceanStep, Step } from '@openocean.finance/widget-sdk'
import type {
SubvariantOptions,
WidgetFeeConfig,
WidgetSubvariant,
} from '../../types/widget.js'
export interface StepActionsProps extends BoxProps {
step: OpenOceanStep
dense?: boolean
}
export interface StepDetailsLabelProps {
step: Step
subvariant?: Extract<WidgetSubvariant, 'custom'>
subvariantOptions?: SubvariantOptions
feeConfig?: WidgetFeeConfig
relayerSupport?: boolean
}
export interface IncludedStepsProps {
step: OpenOceanStep
}