mirror of
https://github.com/langgenius/dify.git
synced 2026-10-04 13:47:55 +08:00
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
18 lines
401 B
TypeScript
18 lines
401 B
TypeScript
'use client'
|
|
|
|
import type { ComponentProps } from 'react'
|
|
import Link from '@/next/link'
|
|
|
|
const createDeploymentGuideHref = '/deployments/create'
|
|
|
|
type CreateDeploymentGuideLinkProps = Omit<ComponentProps<typeof Link>, 'href'>
|
|
|
|
export function CreateDeploymentGuideLink(props: CreateDeploymentGuideLinkProps) {
|
|
return (
|
|
<Link
|
|
{...props}
|
|
href={createDeploymentGuideHref}
|
|
/>
|
|
)
|
|
}
|