UNPKG

bilibili-bangumi-component

Version:

展示 bilibili 与 Bangumi 追番列表的 WebComponent 组件

10 lines (9 loc) 316 B
import type { ContainerState } from '../shared/types'; interface TabProps<T> { labels: T[]; activeLabel: T; containerState: ContainerState; onChange: (index: T) => void; } export declare function Tabs<T extends string>({ activeLabel, labels, containerState, onChange }: TabProps<T>): any; export {};