mirror of
https://github.com/browseros-ai/BrowserOS.git
synced 2026-05-13 15:46:22 +00:00
* fix: biome lint issues * fix: code quality workflow * fix: all lint issues * chore: test lefthook pre-commit hook * chore: test lefthook with agent file * chore: revert test comment from lefthook verification * feat: setup tsgo for typechecking agent * fix: typecheck cli command * fix: early return to prevent errors
43 lines
857 B
TypeScript
43 lines
857 B
TypeScript
'use client'
|
|
|
|
import * as CollapsiblePrimitive from '@radix-ui/react-collapsible'
|
|
|
|
/**
|
|
* @public
|
|
*/
|
|
function Collapsible({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.Root>) {
|
|
return <CollapsiblePrimitive.Root data-slot="collapsible" {...props} />
|
|
}
|
|
|
|
/**
|
|
* @public
|
|
*/
|
|
function CollapsibleTrigger({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>) {
|
|
return (
|
|
<CollapsiblePrimitive.CollapsibleTrigger
|
|
data-slot="collapsible-trigger"
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
/**
|
|
* @public
|
|
*/
|
|
function CollapsibleContent({
|
|
...props
|
|
}: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>) {
|
|
return (
|
|
<CollapsiblePrimitive.CollapsibleContent
|
|
data-slot="collapsible-content"
|
|
{...props}
|
|
/>
|
|
)
|
|
}
|
|
|
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger }
|