diff --git a/apps/masterbots.ai/components/shared/thread-list-accordion.tsx b/apps/masterbots.ai/components/shared/thread-list-accordion.tsx index b50d4e63..159b8ae3 100644 --- a/apps/masterbots.ai/components/shared/thread-list-accordion.tsx +++ b/apps/masterbots.ai/components/shared/thread-list-accordion.tsx @@ -35,8 +35,9 @@ export function ThreadListAccordion({ type="multiple" > {/* Frist level question and excerpt visible on lists */} - + { + isSticky?: boolean +} + const Accordion = AccordionPrimitive.Root const AccordionItem = React.forwardRef< @@ -21,9 +26,16 @@ AccordionItem.displayName = 'AccordionItem' const AccordionTrigger = React.forwardRef< React.ElementRef, - React.ComponentPropsWithoutRef ->(({ className, children, ...props }, ref) => ( - + AccordionTriggerProps +>(({ className, isSticky = false, children, ...props }, ref) => ( + svg]:rotate-180',