UNPKG

omnipay-savings-sdk

Version:

Omnipay Savings SDK

20 lines (19 loc) 995 B
import { LockedSavingsInterestRateTierType } from '../../utils/types'; type Props = { tiers: LockedSavingsInterestRateTierType[]; selectedDays: number; currentRate: number; onTierSelect: (tier: LockedSavingsInterestRateTierType, isManualSelection?: boolean) => void; onDaysChange?: (days: number) => void; primaryColor: string; isLoading?: boolean; minimumLockDurationDays: number; durationError?: string; tierSelectionError?: string; onSectionLayout?: (event: any) => void; lockAmount: number; isInterestDisabled?: boolean; selectedTier?: LockedSavingsInterestRateTierType | null; }; declare const InterestRateTiers: ({ tiers, selectedDays, currentRate, onTierSelect, onDaysChange, primaryColor, isLoading, minimumLockDurationDays, durationError, tierSelectionError, onSectionLayout, lockAmount, isInterestDisabled, selectedTier: parentSelectedTier, }: Props) => import("react/jsx-runtime").JSX.Element; export default InterestRateTiers;