File tree Expand file tree Collapse file tree 2 files changed +4
-11
lines changed
apps/website/src/routes/docs/headless/checkbox/examples
packages/kit-headless/src/components/checklist Expand file tree Collapse file tree 2 files changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ export default component$(() => {
14
14
id = "checklist"
15
15
>
16
16
< Checklist . Indicator class = "w-fit" >
17
- < div q :slot = "checkbox " id = "true-img" >
17
+ < div q :slot = "true " id = "true-img" >
18
18
✅
19
19
</ div >
20
20
21
- < div q :slot = "checklist " id = "mixed-img" >
21
+ < div q :slot = "mixed " id = "mixed-img" >
22
22
➖
23
23
</ div >
24
24
</ Checklist . Indicator >
Original file line number Diff line number Diff line change @@ -17,19 +17,12 @@ export const ChecklistIndicator = component$<ChecklistIndicatorProps>((props) =>
17
17
< div { ...props } >
18
18
{ checklistSig . value === true && (
19
19
< div class = { checklistSig . value === true ? 'visible' : 'invisible' } >
20
- < Slot name = "checkbox " />
20
+ < Slot name = "true " />
21
21
</ div >
22
22
) }
23
-
24
23
{ checklistSig . value === 'indeterminate' && (
25
24
< div class = { checklistSig . value === 'indeterminate' ? 'visible' : 'invisible' } >
26
- < Slot name = "checklist" />
27
- </ div >
28
- ) }
29
-
30
- { checklistSig . value === false && (
31
- < div class = "invisible" >
32
- < Slot name = "checklist" />
25
+ < Slot name = "mixed" />
33
26
</ div >
34
27
) }
35
28
</ div >
You can’t perform that action at this time.
0 commit comments