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} />

貢獻者指南

[Multistep Dialog] Expose a function to proceed to the next step in the dialog · palantir/blueprint#5040 | Good First Issue