mirror of
https://github.com/anomalyco/opencode.git
synced 2026-05-04 23:40:48 +00:00
enterprise (#4617)
Co-authored-by: GitHub Action <action@github.com> Co-authored-by: Adam <2363879+adamdotdevin@users.noreply.github.com>
This commit is contained in:
parent
76192fbced
commit
49408c00e9
1205 changed files with 3057 additions and 1491 deletions
18
packages/ui/src/components/sticky-accordion-header.tsx
Normal file
18
packages/ui/src/components/sticky-accordion-header.tsx
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
import { Accordion } from "./accordion"
|
||||
import { ParentProps } from "solid-js"
|
||||
|
||||
export function StickyAccordionHeader(
|
||||
props: ParentProps<{ class?: string; classList?: Record<string, boolean | undefined> }>,
|
||||
) {
|
||||
return (
|
||||
<Accordion.Header
|
||||
data-component="sticky-accordion-header"
|
||||
classList={{
|
||||
...(props.classList ?? {}),
|
||||
[props.class ?? ""]: !!props.class,
|
||||
}}
|
||||
>
|
||||
{props.children}
|
||||
</Accordion.Header>
|
||||
)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue