+5
![dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)
![autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>](/assets/img/avatar_default.png)







Jingyi
GitHub
yyh
Joel
hjlarry
fatelei
Asuka Minato
autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Xiyuan Chen
gigglewang
Yunlu Wen
chariri
Evan
yyh
9b74df21d0
Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: yyh <[email protected]> Co-authored-by: Joel <[email protected]> Co-authored-by: hjlarry <[email protected]> Co-authored-by: fatelei <[email protected]> Co-authored-by: Asuka Minato <[email protected]> Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Xiyuan Chen <[email protected]> Co-authored-by: gigglewang <[email protected]> Co-authored-by: Yunlu Wen <[email protected]> Co-authored-by: chariri <[email protected]> Co-authored-by: Evan <[email protected]> Co-authored-by: yyh <[email protected]>
21 lines
426 B
TypeScript
21 lines
426 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>
|
|
)
|
|
}
|