UNPKG

@rcsb/rcsb-saguaro-app

Version:
20 lines (19 loc) 577 B
import React, { ReactNode } from "react"; export interface RcsbTabsInterface<T extends string> { tabList: Array<{ key: T; title: string; additionalComponent?: ReactNode; }>; default: T; id: string; onSelect(t: T): void; onMount(t: T): void; } export declare class RcsbTabs<T extends string> extends React.Component<RcsbTabsInterface<T>, {}> { static readonly UI_SUFFIX: string; static readonly SELECT_SUFFIX: string; constructor(props: RcsbTabsInterface<T>); render(): ReactNode; componentDidMount(): void; }