mirror of
https://github.com/langgenius/dify.git
synced 2026-07-15 01:17:04 +08:00
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}
|
|
/>
|
|
)
|
|
}
|