feat(label): add label page
This commit is contained in:
31
components/label/index.tsx
Normal file
31
components/label/index.tsx
Normal file
@@ -0,0 +1,31 @@
|
||||
"use client"
|
||||
|
||||
import dynamic from "next/dynamic"
|
||||
|
||||
const NoSsrLabel = dynamic(() => import("./LabelNossr"), {
|
||||
ssr: false,
|
||||
})
|
||||
|
||||
interface LabelContentProps {
|
||||
headerHeight?: number
|
||||
leftWidth?: number
|
||||
project_id?: number
|
||||
task_id?: number
|
||||
}
|
||||
|
||||
const LabelContent = ({
|
||||
headerHeight = 0,
|
||||
leftWidth = 0,
|
||||
project_id = -1,
|
||||
task_id = -1,
|
||||
}: LabelContentProps) => {
|
||||
return (
|
||||
<NoSsrLabel
|
||||
headerHeight={headerHeight}
|
||||
leftWidth={leftWidth}
|
||||
project_id={project_id}
|
||||
task_id={task_id}></NoSsrLabel>
|
||||
)
|
||||
}
|
||||
|
||||
export default LabelContent
|
||||
Reference in New Issue
Block a user