mirror of
https://github.com/langgenius/dify.git
synced 2026-05-03 00:48:04 +08:00
18 lines
361 B
TypeScript
18 lines
361 B
TypeScript
import type { FC, PropsWithChildren } from 'react'
|
|
import * as React from 'react'
|
|
|
|
type EditorTabsProps = PropsWithChildren
|
|
|
|
const EditorTabs: FC<EditorTabsProps> = ({ children }) => {
|
|
return (
|
|
<div
|
|
className="flex items-center gap-2"
|
|
data-component="editor-tabs"
|
|
>
|
|
{children}
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default React.memo(EditorTabs)
|