-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage) add pool configuration as yaml WD-8614
Signed-off-by: David Edler <david.edler@canonical.com>
- Loading branch information
Showing
18 changed files
with
357 additions
and
126 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { FC } from "react"; | ||
import { ConfirmationModal } from "@canonical/react-components"; | ||
|
||
interface Props { | ||
onConfirm: () => void; | ||
close: () => void; | ||
} | ||
|
||
const YamlConfirmation: FC<Props> = ({ onConfirm, close }) => { | ||
return ( | ||
<ConfirmationModal | ||
confirmButtonLabel="Discard changes" | ||
onConfirm={onConfirm} | ||
close={close} | ||
title="Confirm" | ||
> | ||
<p> | ||
Switching back to guided forms will discard all changes in the YAML | ||
editor. | ||
<br /> | ||
Are you sure you want to proceed? | ||
</p> | ||
</ConfirmationModal> | ||
); | ||
}; | ||
|
||
export default YamlConfirmation; |
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
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
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
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
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
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
Oops, something went wrong.