UNPKG

fannypack-v5

Version:

An accessible, composable, and friendly React UI Kit

9 lines (8 loc) 689 B
import * as React from 'react'; import { TabStateReturn as ReakitTabStateReturn, TabInitialState as ReakitTabInitialState } from 'reakit'; export declare type TabStateReturn = ReakitTabStateReturn; export declare type TabInitialState = ReakitTabInitialState; export declare function useTabState(initialState?: ReakitTabInitialState): ReakitTabStateReturn; export declare function TabState(props: { children?: (state: TabInitialState) => React.ReactElement<any>; } & TabInitialState): React.ReactElement<any, string | ((props: any) => React.ReactElement<any, string | any | (new (props: any) => React.Component<any, any, any>)>) | (new (props: any) => React.Component<any, any, any>)>;