mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
feat: add main skill struct
This commit is contained in:
17
web/app/components/workflow/skill/sidebar.tsx
Normal file
17
web/app/components/workflow/skill/sidebar.tsx
Normal file
@ -0,0 +1,17 @@
|
||||
import type { FC, PropsWithChildren } from 'react'
|
||||
import * as React from 'react'
|
||||
|
||||
type SidebarProps = PropsWithChildren
|
||||
|
||||
const Sidebar: FC<SidebarProps> = ({ children }) => {
|
||||
return (
|
||||
<aside
|
||||
className="flex w-[260px] shrink-0 flex-col gap-3 rounded-lg bg-white p-3"
|
||||
data-component="sidebar"
|
||||
>
|
||||
{children}
|
||||
</aside>
|
||||
)
|
||||
}
|
||||
|
||||
export default React.memo(Sidebar)
|
||||
Reference in New Issue
Block a user