32 lines
561 B
TypeScript
32 lines
561 B
TypeScript
"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
|