palantir/blueprint

[Multistep Dialog] Expose a function to proceed to the next step in the dialog

Open

#5,040 创建于 2021年11月29日

在 GitHub 查看
 (1 评论) (1 反应) (0 负责人)TypeScript (20,263 star) (2,167 fork)batch import
P3Package: coreType: feature requesthelp wanted

描述

Feature request

It would be useful if the Multistep Dialog exposes a method to proceed to the next step in the dialog.

Use Case

The dialog can progress through steps when the user presses on the enter key

Examples

const r = React.Ref<MultiStepDialog> = createRef();
const onEnter = () => r.current.nextStep();

return <MultiStepDialog ... ref={r} />

贡献者指南