/** * @todo: Antd prefixCls */ import React from 'react'; import './style/index.less'; export interface TabOption { title: string; id: string; } export declare type OnTabChange = (tabOption?: TabOption) => void; declare type MaybeScrollWrapper = Window | HTMLElement | null; export interface AnchorTabsProps { affixTarget?: () => MaybeScrollWrapper; tabs: TabOption[]; smooth?: boolean; tabBarExtraContent?: React.ReactNode; onChange?: OnTabChange; className?: string; style?: React.CSSProperties; tabsWrapperStyle?: React.CSSProperties; } export declare type InternalAnchorTargetMap = Map; declare const AnchorTabs: React.FC; export default AnchorTabs;