Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99465259
TabPanel.d.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Fri, Jan 24, 19:36
Size
1 KB
Mime Type
text/x-java
Expires
Sun, Jan 26, 19:36 (2 d)
Engine
blob
Format
Raw Data
Handle
23799305
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
TabPanel.d.ts
View Options
import * as React from 'react';
import { EventKey, DynamicRefForwardingComponent, TransitionCallbacks, TransitionComponent } from './types';
export interface TabPanelProps extends TransitionCallbacks, React.HTMLAttributes<HTMLElement> {
/**
* Element used to render the component.
*/
as?: React.ElementType;
/**
* A key that associates the `TabPanel` with it's controlling `NavLink`.
*/
eventKey?: EventKey;
/**
* Toggles the active state of the TabPanel, this is generally controlled by `Tabs`.
*/
active?: boolean;
/**
* Use animation when showing or hiding `<TabPanel>`s. Use a react-transition-group
* `<Transition/>` component.
*/
transition?: TransitionComponent;
/**
* Wait until the first "enter" transition to mount the tab (add it to the DOM)
*/
mountOnEnter?: boolean;
/**
* Unmount the tab (remove it from the DOM) when it is no longer visible
*/
unmountOnExit?: boolean;
}
export interface TabPanelMetadata extends TransitionCallbacks {
eventKey?: EventKey;
isActive?: boolean;
transition?: TransitionComponent;
mountOnEnter?: boolean;
unmountOnExit?: boolean;
}
export declare function useTabPanel({ active, eventKey, mountOnEnter, transition, unmountOnExit, role, onEnter, onEntering, onEntered, onExit, onExiting, onExited, ...props }: TabPanelProps): [any, TabPanelMetadata];
declare const TabPanel: DynamicRefForwardingComponent<'div', TabPanelProps>;
export default TabPanel;
Event Timeline
Log In to Comment