File tree Expand file tree Collapse file tree 2 files changed +20
-0
lines changed
Expand file tree Collapse file tree 2 files changed +20
-0
lines changed Original file line number Diff line number Diff line change 1+ import { Select } from "@radix-ui/themes" ;
2+ import React from "react" ;
3+
4+ const AssigneeSelect = ( ) => {
5+ return (
6+ < Select . Root >
7+ < Select . Trigger placeholder = "Assign.." />
8+ < Select . Content >
9+ < Select . Group >
10+ < Select . Label > Suggestions</ Select . Label >
11+ < Select . Item value = "1" > Apple</ Select . Item >
12+ </ Select . Group >
13+ </ Select . Content >
14+ </ Select . Root >
15+ ) ;
16+ } ;
17+
18+ export default AssigneeSelect ;
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ import DeleteIssueButton from "./DeleteIssueButton";
77import { getServerSession } from "next-auth" ;
88import { authOptions } from "@/app/auth/authOptions" ;
99import { cache } from "react" ;
10+ import AssigneeSelect from "./AssigneeSelect" ;
1011
1112interface Props {
1213 params : Promise < {
@@ -37,6 +38,7 @@ const IssueDetailPage = async ({ params }: Props) => {
3738 { session && (
3839 < Box >
3940 < Flex direction = "column" gap = "4" >
41+ < AssigneeSelect />
4042 < EditIssueButton issueId = { issue . id } />
4143 < DeleteIssueButton issueId = { issue . id } />
4244 </ Flex >
You can’t perform that action at this time.
0 commit comments