rc-tabs

  • Version 11.10.1
  • Published
  • 133 kB
  • 6 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 _default

const _default: any;

    Functions

    function TabPane

    TabPane: ({
    prefixCls,
    forceRender,
    className,
    style,
    id,
    active,
    animated,
    destroyInactiveTabPane,
    tabKey,
    children,
    }: TabPaneProps) => any;

      Interfaces

      interface TabPaneProps

      interface TabPaneProps {}

        property active

        active?: boolean;

          property animated

          animated?: boolean;

            property children

            children?: React.ReactNode;

              property className

              className?: string;

                property closable

                closable?: boolean;

                  property closeIcon

                  closeIcon?: React.ReactNode;

                    property destroyInactiveTabPane

                    destroyInactiveTabPane?: boolean;

                      property disabled

                      disabled?: boolean;

                        property forceRender

                        forceRender?: boolean;

                          property id

                          id?: string;

                            property prefixCls

                            prefixCls?: string;

                              property style

                              style?: React.CSSProperties;

                                property tab

                                tab?: React.ReactNode;

                                  property tabKey

                                  tabKey?: string;

                                    interface TabsProps

                                    interface TabsProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChange'> {}

                                      property activeKey

                                      activeKey?: string;

                                        property animated

                                        animated?: boolean | AnimatedConfig;

                                          property children

                                          children?: React.ReactNode;

                                            property className

                                            className?: string;

                                              property defaultActiveKey

                                              defaultActiveKey?: string;

                                                property destroyInactiveTabPane

                                                destroyInactiveTabPane?: boolean;

                                                  property direction

                                                  direction?: 'ltr' | 'rtl';

                                                    property editable

                                                    editable?: EditableConfig;

                                                      property id

                                                      id?: string;

                                                        property locale

                                                        locale?: TabsLocale;

                                                          property moreIcon

                                                          moreIcon?: React.ReactNode;

                                                            property moreTransitionName

                                                            moreTransitionName?: string;
                                                            • Internal usage. Not promise will rename in future

                                                            property onChange

                                                            onChange?: (activeKey: string) => void;

                                                              property onTabClick

                                                              onTabClick?: (
                                                              activeKey: string,
                                                              e: React.KeyboardEvent | React.MouseEvent
                                                              ) => void;

                                                                property onTabScroll

                                                                onTabScroll?: OnTabScroll;

                                                                  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 (3)

                                                                                Dependencies (6)

                                                                                Dev Dependencies (31)

                                                                                Peer Dependencies (2)

                                                                                Badge

                                                                                To add a badge like this onejsDocs.io badgeto 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
                                                                                  [![jsDocs.io](https://img.shields.io/badge/jsDocs.io-reference-blue)](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>