UNPKG

carbon-react

Version:

A library of reusable React components for easily building user interfaces.

29 lines (28 loc) 1.03 kB
import React from "react"; import { TagProps } from "../../__internal__/utils/helpers/tags/tags"; import Page from "./page"; import type { ThemeObject } from "../../style/themes/theme.types"; /** * @deprecated `Pages` has been deprecated. See the Carbon documentation for migration details. */ export interface PagesProps extends TagProps { /** The selected tab on page load */ initialpageIndex?: number | string; /** The current page's index */ pageIndex?: number | string; /** Individual Page components */ children?: React.ReactNode; /** Controls which transition to use (fade or slide). */ transition?: string; /** @ignore @private */ theme?: Partial<ThemeObject>; } /** * @deprecated `Pages` has been deprecated. See the Carbon documentation for migration details. */ declare const Pages: { ({ pageIndex: incomingPageIndex, initialpageIndex, transition, children, ...props }: PagesProps): React.JSX.Element; displayName: string; }; export default Pages; export { Page };