UNPKG

react-common-use-components

Version:
22 lines (21 loc) 579 B
import React, { CSSProperties, ReactNode } from 'react'; interface Items { key: string; label: string; } interface TabsProps { children?: ReactNode; items?: Items[]; activeKey?: string; onChange?: (key: string) => void; defaultActiveKey?: string; activeLineColor?: string; containerStyle?: CSSProperties; itemStyle?: CSSProperties; } declare const Tabs: (props: TabsProps) => React.JSX.Element; declare const Tab: ({ children, activeKey }: { children?: ReactNode; activeKey?: string; }) => React.JSX.Element; export { Tabs, Tab };