rc-tabs
- Version 15.5.1
- Published
- 175 kB
- 7 dependencies
- MIT license
Install
npm i rc-tabs
yarn add rc-tabs
pnpm add rc-tabs
Overview
tabs ui component for react
Index
Variables
variable Tabs
const Tabs: React.ForwardRefExoticComponent<any>;
Interfaces
interface TabsProps
interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange' | 'children'> {}
property activeKey
activeKey?: string;
property animated
animated?: boolean | AnimatedConfig;
property className
className?: string;
property defaultActiveKey
defaultActiveKey?: string;
property destroyInactiveTabPane
destroyInactiveTabPane?: boolean;
property direction
direction?: 'ltr' | 'rtl';
property editable
editable?: EditableConfig;
property getPopupContainer
getPopupContainer?: (node: HTMLElement) => HTMLElement;
property id
id?: string;
property indicator
indicator?: { size?: GetIndicatorSize; align?: 'start' | 'center' | 'end';};
property items
items?: Tab[];
property locale
locale?: TabsLocale;
property more
more?: MoreProps;
property onChange
onChange?: (activeKey: string) => void;
property onTabClick
onTabClick?: ( activeKey: string, e: React.KeyboardEvent | React.MouseEvent) => void;
property onTabScroll
onTabScroll?: OnTabScroll;
property popupClassName
popupClassName?: string;
Internal usage. Not promise will rename in future
property prefixCls
prefixCls?: string;
property renderTabBar
renderTabBar?: RenderTabBar;
property style
style?: React.CSSProperties;
property tabBarExtraContent
tabBarExtraContent?: TabBarExtraContent;
property tabBarGutter
tabBarGutter?: number;
property tabBarStyle
tabBarStyle?: React.CSSProperties;
property tabPosition
tabPosition?: TabPosition;
Package Files (2)
Dependencies (7)
Dev Dependencies (34)
- @rc-component/father-plugin
- @rc-component/trigger
- @testing-library/jest-dom
- @testing-library/react
- @testing-library/user-event
- @types/classnames
- @types/enzyme
- @types/jest
- @types/keyv
- @types/react
- @types/react-dom
- @umijs/fabric
- coveralls
- cross-env
- dumi
- eslint
- eslint-plugin-jest
- eslint-plugin-unicorn
- fastclick
- father
- gh-pages
- history
- immutability-helper
- less
- np
- preact-compat
- rc-test
- react
- react-dnd
- react-dnd-html5-backend
- react-dom
- react-sticky
- sortablejs
- typescript
Peer Dependencies (2)
Badge
To add a badge like this oneto your package's README, use the codes available below.
You may also use Shields.io to create a custom badge linking to https://www.jsdocs.io/package/rc-tabs
.
- Markdown[](https://www.jsdocs.io/package/rc-tabs)
- HTML<a href="https://www.jsdocs.io/package/rc-tabs"><img src="https://img.shields.io/badge/jsDocs.io-reference-blue" alt="jsDocs.io"></a>
- Updated .
Package analyzed in 2667 ms. - Missing or incorrect documentation? Open an issue for this package.