File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
packages/kit-headless/src/components/accordion Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 55 useContextProvider ,
66 useSignal ,
77 useStore ,
8+ useTask$ ,
89 type QwikIntrinsicElements ,
9- useTask$
10+ type PropFunction
1011} from '@builder.io/qwik' ;
1112
1213import { type AccordionRootContext } from './accordion-context.type' ;
@@ -16,8 +17,8 @@ export type AccordionRootProps = {
1617 behavior ?: 'single' | 'multi' ;
1718 animated ?: boolean ;
1819 collapsible ?: boolean ;
19- onSelectedIndexChange$ ?: ( index : number ) => void ;
20- onFocusIndexChange$ ?: ( index : number ) => void ;
20+ onSelectedIndexChange$ ?: PropFunction < ( index : number ) => void > ;
21+ onFocusIndexChange$ ?: PropFunction < ( index : number ) => void > ;
2122} & QwikIntrinsicElements [ 'div' ] ;
2223
2324export const AccordionRoot = component$ (
You can’t perform that action at this time.
0 commit comments