UNPKG

adwaita-web

Version:

A GTK inspired toolkit designed to build awesome web apps

17 lines (16 loc) 755 B
import React from "react"; import type { ExtendElementProps } from "../utils/extendElementProp"; import type { PageSwitcherPage } from "./PageSwitcher"; export type { PageSwitcherPage }; export declare type NotebookProps = ExtendElementProps<"div", { position?: "top" | "bottom" | "left" | "right"; transition?: "horizontal" | "vertical" | "opacity" | false; arrows?: boolean; className?: string; value?: number; pages: PageSwitcherPage[]; action?: React.ReactNode; onChange?: (value: number) => void; onClose?: (pageIndex: number) => void; }>; export declare function Notebook({ className, position, transition, value: activePageValue, arrows, pages, action, onChange, onClose, ...rest }: NotebookProps): JSX.Element;