@blueprintjs/core
Version:
Core styles & components
37 lines (36 loc) • 1.27 kB
TypeScript
import * as React from "react";
import { AbstractPureComponent2 } from "../../common";
import { HTMLDivProps, IProps } from "../../common/props";
import { IButtonProps } from "../button/buttons";
export declare type DialogStepId = string | number;
export declare type DialogStepButtonProps = Partial<Pick<IButtonProps, "disabled" | "text">>;
export interface IDialogStepProps extends IProps, Omit<HTMLDivProps, "id" | "title" | "onClick"> {
/**
* Unique identifier used to identify which step is selected.
*/
id: DialogStepId;
/**
* Panel content, rendered by the parent `MultistepDialog` when this step is active.
*/
panel: JSX.Element;
/**
* Space-delimited string of class names applied to multistep dialog panel container.
*/
panelClassName?: string;
/**
* Content of step title element, rendered in a list left of the active panel.
*/
title?: React.ReactNode;
/**
* Props for the back button.
*/
backButtonProps?: DialogStepButtonProps;
/**
* Props for the next button.
*/
nextButtonProps?: DialogStepButtonProps;
}
export declare class DialogStep extends AbstractPureComponent2<IDialogStepProps> {
static displayName: string;
render(): JSX.Element;
}