fui-fancyui
Version:
FancyUI Libary
20 lines (19 loc) • 774 B
TypeScript
import { default as React } from 'react';
import { CSSProp } from 'styled-components';
import { TFancyFlexBox } from '../../templates/FancyFlexBox/TFancyFlexBox.model';
import { TSpacings } from '../../../types/TSpacings';
import { TActiveSwitchIndicator } from '../../atoms/SwitchActiveIndicator';
type TSwitchActiveIndicator = Omit<TActiveSwitchIndicator, 'itemNumber'>;
interface IBottomBarListProps {
children?: React.ReactNode;
whichIndexIsSelected?: number;
activeItemHandler?: (activeKey: number) => void;
externalStyle?: CSSProp;
gap?: TSpacings;
}
type TFlexBoxOmitGap = Omit<TFancyFlexBox, 'gap'>;
export type TSwitchList = IBottomBarListProps & {
switchIndicator?: TSwitchActiveIndicator;
flexBoxProps?: TFlexBoxOmitGap;
};
export {};