Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Componentize the whole keypairoom flow in just one component #286

Open
bbtgnn opened this issue Jan 19, 2024 · 0 comments
Open

Componentize the whole keypairoom flow in just one component #286

bbtgnn opened this issue Jan 19, 2024 · 0 comments

Comments

@bbtgnn
Copy link
Collaborator

bbtgnn commented Jan 19, 2024

I would like to have a root <KeypairoomFlow> that returns the keypair at the very end.
As a prop, it accepts the onEnd(keypair) function, so the user can do what it wants.

The flow is:

graph TD;
    login-->questions;
    login-->passphrase;
    questions-->seed;
    seed-->onEnd;
    passphrase-->onEnd;
Loading

Ideally, it would be nice to export slots for components, so that there's just the logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant