Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F99727668
Tab.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
Sun, Jan 26, 08:41
Size
2 KB
Mime Type
text/x-java
Expires
Tue, Jan 28, 08:41 (2 d)
Engine
blob
Format
Raw Data
Handle
23814534
Attached To
rOACCT Open Access Compliance Check Tool (OACCT)
Tab.d.ts
View Options
import * as React from 'react';
import { SxProps } from '@mui/system';
import { Theme } from '..';
import { ExtendButtonBase, ExtendButtonBaseTypeMap } from '../ButtonBase';
import { OverrideProps } from '../OverridableComponent';
import { TabClasses } from './tabClasses';
export type TabTypeMap<P = {}, D extends React.ElementType = 'div'> = ExtendButtonBaseTypeMap<{
props: P & {
/**
* This prop isn't supported.
* Use the `component` prop if you need to change the children structure.
*/
children?: null;
/**
* Override or extend the styles applied to the component.
*/
classes?: Partial<TabClasses>;
/**
* If `true`, the component is disabled.
* @default false
*/
disabled?: boolean;
/**
* If `true`, the keyboard focus ripple is disabled.
* @default false
*/
disableFocusRipple?: boolean;
/**
* The icon to display.
*/
icon?: string | React.ReactElement;
/**
* The position of the icon relative to the label.
* @default 'top'
*/
iconPosition?: 'top' | 'bottom' | 'start' | 'end';
/**
* The label element.
*/
label?: React.ReactNode;
/**
* The system prop that allows defining system overrides as well as additional CSS styles.
*/
sx?: SxProps<Theme>;
/**
* You can provide your own value. Otherwise, we fallback to the child position index.
*/
value?: any;
/**
* Tab labels appear in a single row.
* They can use a second line if needed.
* @default false
*/
wrapped?: boolean;
};
defaultComponent: D;
}>;
/**
*
* Demos:
*
* - [Tabs](https://mui.com/material-ui/react-tabs/)
*
* API:
*
* - [Tab API](https://mui.com/material-ui/api/tab/)
* - inherits [ButtonBase API](https://mui.com/material-ui/api/button-base/)
*/
declare const Tab: ExtendButtonBase<TabTypeMap>;
export type TabProps<
D extends React.ElementType = TabTypeMap['defaultComponent'],
P = {},
> = OverrideProps<TabTypeMap<P, D>, D>;
export default Tab;
Event Timeline
Log In to Comment