Created
April 22, 2021 08:51
-
-
Save timlrx/969fdeb1f91b7daf31c918bab509fcc2 to your computer and use it in GitHub Desktop.
Neo4j Motif Pseudocode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const [driver, setDriver] = useState(); | |
return ( | |
<ProgressStepper currentStep={currentStep}> | |
{currentStep === 1 && ( | |
<ConnectDatabase | |
driver={driver} | |
setDriver={setDriver} | |
nextStep={nextStep} | |
/> | |
)} | |
{currentStep === 2 && ( | |
<ExecuteQuery | |
driver={driver} | |
nextStep={nextStep} | |
states={executeQuery} | |
onStateChange={onExecuteQueryChange} | |
/> | |
)} | |
</ProgressStepper> | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment