react-native-collapsible-tab-view
Version:
Collapsible tab view component for React Native
24 lines • 669 B
TypeScript
import React from 'react';
import { CollapsibleProps, CollapsibleRef } from './types';
/**
* Basic usage looks like this:
*
* ```tsx
* import { Tabs } from 'react-native-collapsible-tab-view'
*
* const Example = () => {
* return (
* <Tabs.Container renderHeader={MyHeader}>
* <Tabs.Tab name="A">
* <ScreenA />
* </Tabs.Tab>
* <Tabs.Tab name="B">
* <ScreenB />
* </Tabs.Tab>
* </Tabs.Container>
* )
* }
* ```
*/
export declare const Container: React.MemoExoticComponent<React.ForwardRefExoticComponent<CollapsibleProps & React.RefAttributes<CollapsibleRef>>>;
//# sourceMappingURL=Container.d.ts.map