-
Notifications
You must be signed in to change notification settings - Fork 285
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
feat(playground): playground layout #4978
Conversation
70dedcb
to
82f8986
Compare
82f8986
to
0255b58
Compare
<Button | ||
variant="default" | ||
size="compact" | ||
aria-label="add prompt" | ||
icon={<Icon svg={<Icons.PlusCircleOutline />} />} | ||
disabled={numInstances >= NUM_MAX_PLAYGROUND_INSTANCES} | ||
onClick={() => { | ||
addInstance(); | ||
}} | ||
> | ||
Prompt | ||
</Button> | ||
</div> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah you need to bump your deps
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did. Weird, let me nuke node modules
{instances.map((instance, i) => ( | ||
<View key={i} flex="1 1 0px"> | ||
<PlaygroundOutput | ||
key={i} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
don't need key here or above on the nested elements
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
removed
new playground layout and moves input to be shared across instances.