mirror of
https://github.com/langgenius/dify.git
synced 2026-07-21 18:58:35 +08:00
16 lines
405 B
TypeScript
16 lines
405 B
TypeScript
import type { ReactNode } from 'react'
|
|
|
|
type StudioListHeaderProps = {
|
|
title: ReactNode
|
|
children: ReactNode
|
|
}
|
|
|
|
export function StudioListHeader({ title, children }: StudioListHeaderProps) {
|
|
return (
|
|
<div className="sticky top-0 z-10 flex flex-col gap-[14px] bg-background-body px-8 pt-4 pb-2">
|
|
<div className="flex h-6 min-w-0 items-center">{title}</div>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|