generated from CodeChefVIT/template
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #26 from Abh1noob/master
bb
- Loading branch information
Showing
14 changed files
with
284 additions
and
69 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,55 @@ | ||
import { | ||
Dialog, | ||
DialogClose, | ||
DialogContent, | ||
DialogTitle, | ||
} from "@radix-ui/react-dialog"; | ||
import { Label } from "@radix-ui/react-label"; | ||
import React from "react"; | ||
import { Button } from "../ui/button"; | ||
import { DialogHeader, DialogFooter } from "../ui/dialog"; | ||
import { Input } from "../ui/input"; | ||
|
||
const LeaveTeam = () => { | ||
return ( | ||
<div> | ||
<Dialog> | ||
<DialogContent className="sm:max-w-[425px]"> | ||
<DialogHeader> | ||
<DialogTitle>Create a team</DialogTitle> | ||
</DialogHeader> | ||
<div className="flex flex-col gap-y-2 py-4"> | ||
<Label | ||
htmlFor="name" | ||
className="text-sm font-normal text-[#53545C]" | ||
> | ||
Are you sure you want to leave the team? | ||
</Label> | ||
</div> | ||
<div className="flex justify-center"> | ||
<DialogFooter className="sm:justify-start"> | ||
<DialogClose> | ||
<Button | ||
type="submit" | ||
className="bg-[#458B71]" | ||
// onClick={async () => {}} | ||
> | ||
Yes | ||
</Button> | ||
<Button | ||
type="submit" | ||
className="bg-[#458B71]" | ||
// onClick={async () => {}} | ||
> | ||
No | ||
</Button> | ||
</DialogClose> | ||
</DialogFooter> | ||
</div> | ||
</DialogContent> | ||
</Dialog> | ||
</div> | ||
); | ||
}; | ||
|
||
export default LeaveTeam; |
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.