@ntragas/pouncejstest
Version:
A collection of UI components from Panther labs
17 lines (16 loc) • 493 B
TypeScript
import React from 'react';
declare type TabPanelProps = {
/**
* Whether the tabs should only load when they are activated
* @default false
* */
lazy?: boolean;
/**
* Unmounts the tab when it's not active, so that recurring visits will re-mount. Only applies to
* tab panels that are lazy loaded (i.e. `lazy=true`)
* @default false
*/
unmountWhenInactive?: boolean;
};
declare const _default: React.FC<TabPanelProps>;
export default _default;