-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(front): generate yaml compose file of stack (#94)
* feat(front): generate yaml compose file of stack * fix(yaml): eslint --------- Co-authored-by: Romain Dreidemy <[email protected]>
- Loading branch information
1 parent
6a77a2e
commit e870875
Showing
5 changed files
with
52 additions
and
10 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
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,22 @@ | ||
import React, { type ReactElement } from 'react' | ||
|
||
interface ComposeFileModalOrganismProps { | ||
composeFileData: string | ||
} | ||
|
||
const ComposeFileModalOrganism = ({ composeFileData }: ComposeFileModalOrganismProps): ReactElement => { | ||
return ( | ||
<dialog id="compose_file_modal" className="modal"> | ||
<div className="modal-box"> | ||
<textarea className="h-96 w-full" readOnly defaultValue={composeFileData} /> | ||
<div className="modal-action"> | ||
<form method="dialog"> | ||
<button className="btn">Close</button> | ||
</form> | ||
</div> | ||
</div> | ||
</dialog> | ||
) | ||
} | ||
|
||
export default ComposeFileModalOrganism |
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