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

[core] feat(Dialog): modernise visuals, body & footer components #5753

Merged
merged 12 commits into from
Jan 10, 2023
Prev Previous commit
Next Next commit
lint
Charles Perinet committed Nov 10, 2022
commit da79ea14949e4a09681bb466476724570eddc570
Original file line number Diff line number Diff line change
@@ -138,10 +138,10 @@ function ButtonWithDialog({
<Button onClick={handleButtonClick} text={buttonText} />
<Dialog {...props} isOpen={isOpen} onClose={handleClose} footer={includeFooter === "fixed" ? <DialogFixedFooter handleClose={handleClose} /> : undefined }>
<DialogBody />
{includeFooter == "default" &&
{includeFooter === "default" &&
<DialogFooter handleClose={handleClose} />
}
{includeFooter == "none" &&
{includeFooter === "none" &&
<div style={{ margin: "0 20px" }}>
<VisitFoundryWebsiteAnchorButton fill={true} />
</div>