dify/web/app/components/apps/studio-list-header.tsx
Stephen Zhou a84c2d36a3
style: format with vp fmt (#38803)
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2026-07-12 15:57:46 +00:00

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>
)
}