File tree Expand file tree Collapse file tree 10 files changed +28
-28
lines changed
apps/website/src/routes/docs/headless/checkbox/examples Expand file tree Collapse file tree 10 files changed +28
-28
lines changed Original file line number Diff line number Diff line change @@ -4,9 +4,9 @@ export default component$(() => {
4
4
return (
5
5
< >
6
6
< Checkbox . Root class = "flex items-center gap-3 border-2 border-black p-2 " >
7
- < CheckboxIndicator class = "flex h-[25px] w-[25px] items-center justify-center bg-slate-600" >
7
+ < Checkbox . Indicator class = "flex h-[25px] w-[25px] items-center justify-center bg-slate-600" >
8
8
✅
9
- </ CheckboxIndicator >
9
+ </ Checkbox . Indicator >
10
10
I have read the README file
11
11
</ Checkbox . Root >
12
12
</ >
Original file line number Diff line number Diff line change @@ -34,13 +34,13 @@ export default component$(() => {
34
34
id = "child-1"
35
35
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
36
36
>
37
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
37
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
38
38
< p > No other stuff is needed here</ p >
39
39
</ Checkbox . Root >
40
40
41
41
< Checkbox . Root id = "child-2" class = "bg-slate-900 text-white" >
42
42
< div class = "flex items-center gap-3" >
43
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
43
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
44
44
< p > Im a true.tsx</ p >
45
45
</ div >
46
46
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -13,22 +13,22 @@ export default component$(() => {
13
13
class = "flex items-center gap-3 bg-slate-900 p-2 text-white"
14
14
checklist = { true }
15
15
>
16
- < CheckboxIndicator class = " flex w-[80px] justify-center bg-white p-3" >
16
+ < Checkbox . Indicator class = " flex w-[80px] justify-center bg-white p-3" >
17
17
✅
18
- </ CheckboxIndicator >
18
+ </ Checkbox . Indicator >
19
19
< p > Controlls all</ p >
20
20
</ Checkbox . Root >
21
21
< Checkbox . Root
22
22
checkBoxSig = { firstUserSig }
23
23
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
24
24
>
25
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
25
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
26
26
< p > No other stuff is needed here</ p >
27
27
</ Checkbox . Root >
28
28
29
29
< Checkbox . Root checkBoxSig = { secondUserSig } class = "bg-slate-900 text-white" >
30
30
< div class = "flex items-center gap-3" >
31
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
31
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
32
32
< p > No other stuff is needed here</ p >
33
33
</ div >
34
34
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -29,13 +29,13 @@ export default component$(() => {
29
29
checkBoxSig = { firstUserSig }
30
30
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
31
31
>
32
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
32
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
33
33
< p > No other stuff is needed here</ p >
34
34
</ Checkbox . Root >
35
35
36
36
< Checkbox . Root checkBoxSig = { secondUserSig } class = "bg-slate-900 text-white" >
37
37
< div class = "flex items-center gap-3" >
38
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
38
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
39
39
< p > No other stuff is needed here</ p >
40
40
</ div >
41
41
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -33,13 +33,13 @@ export default component$(() => {
33
33
id = "child-1"
34
34
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
35
35
>
36
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
36
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
37
37
< p > No other stuff is needed here</ p >
38
38
</ Checkbox . Root >
39
39
40
40
< Checkbox . Root id = "child-2" class = "bg-slate-900 text-white" >
41
41
< div class = "flex items-center gap-3" >
42
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
42
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
43
43
< p > Im a true.tsx</ p >
44
44
</ div >
45
45
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -13,22 +13,22 @@ export default component$(() => {
13
13
class = "flex items-center gap-3 bg-slate-900 p-2 text-white"
14
14
checklist = { true }
15
15
>
16
- < CheckboxIndicator class = " flex w-[80px] justify-center bg-white p-3" >
16
+ < Checkbox . Indicator class = " flex w-[80px] justify-center bg-white p-3" >
17
17
✅
18
- </ CheckboxIndicator >
18
+ </ Checkbox . Indicator >
19
19
< p > Controlls all</ p >
20
20
</ Checkbox . Root >
21
21
< Checkbox . Root
22
22
checkBoxSig = { firstUserSig }
23
23
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
24
24
>
25
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
25
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
26
26
< p > No other stuff is needed here</ p >
27
27
</ Checkbox . Root >
28
28
29
29
< Checkbox . Root checkBoxSig = { secondUserSig } class = "bg-slate-900 text-white" >
30
30
< div class = "flex items-center gap-3" >
31
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
31
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
32
32
< p > No other stuff is needed here</ p >
33
33
</ div >
34
34
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -13,22 +13,22 @@ export default component$(() => {
13
13
class = "flex items-center gap-3 bg-slate-900 p-2 text-white"
14
14
checklist = { true }
15
15
>
16
- < CheckboxIndicator class = " flex w-[80px] justify-center bg-white p-3" >
16
+ < Checkbox . Indicator class = " flex w-[80px] justify-center bg-white p-3" >
17
17
✅
18
- </ CheckboxIndicator >
18
+ </ Checkbox . Indicator >
19
19
< p > Controlls all</ p >
20
20
</ Checkbox . Root >
21
21
< Checkbox . Root
22
22
checkBoxSig = { firstUserSig }
23
23
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
24
24
>
25
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
25
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
26
26
< p > No other stuff is needed here</ p >
27
27
</ Checkbox . Root >
28
28
29
29
< Checkbox . Root class = "bg-slate-900 text-white" >
30
30
< div class = "flex items-center gap-3" >
31
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
31
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
32
32
< p > No other stuff is needed here</ p >
33
33
</ div >
34
34
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ export default component$(() => {
8
8
< p > I'm the default checkbox!!!</ p >
9
9
< Checkbox . Root class = " text-white" >
10
10
< div class = "flex items-center gap-3" >
11
- < CheckboxIndicator class = "w-fit bg-slate-600" >
11
+ < Checkbox . Indicator class = "w-fit bg-slate-600" >
12
12
< p id = "indicator" > ✅</ p >
13
- </ CheckboxIndicator >
13
+ </ Checkbox . Indicator >
14
14
< p > No other stuff is needed here</ p >
15
15
</ div >
16
16
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -8,9 +8,9 @@ export default component$(() => {
8
8
< >
9
9
< Checkbox . Root class = "bg-slate-900 text-white" checkBoxSig = { userSig } >
10
10
< div class = "flex items-center gap-3" >
11
- < CheckboxIndicator class = "w-fit bg-slate-600" >
11
+ < Checkbox . Indicator class = "w-fit bg-slate-600" >
12
12
< p id = "indicator" > ✅</ p >
13
- </ CheckboxIndicator >
13
+ </ Checkbox . Indicator >
14
14
< p > No other stuff is needed here</ p >
15
15
</ div >
16
16
</ Checkbox . Root >
Original file line number Diff line number Diff line change @@ -14,23 +14,23 @@ export default component$(() => {
14
14
checklist = { true }
15
15
id = "checklist"
16
16
>
17
- < CheckboxIndicator class = " flex w-[80px] justify-center bg-white p-3" >
17
+ < Checkbox . Indicator class = " flex w-[80px] justify-center bg-white p-3" >
18
18
✅
19
- </ CheckboxIndicator >
19
+ </ Checkbox . Indicator >
20
20
< p > Controlls all</ p >
21
21
</ Checkbox . Root >
22
22
< Checkbox . Root
23
23
id = "child-1"
24
24
checkBoxSig = { firstUserSig }
25
25
class = "flex items-center gap-3 bg-slate-900 pr-2 text-white"
26
26
>
27
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
27
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
28
28
< p > First Child</ p >
29
29
</ Checkbox . Root >
30
30
31
31
< Checkbox . Root id = "child-2" class = "bg-slate-900 text-white" >
32
32
< div class = "flex items-center gap-3" >
33
- < CheckboxIndicator class = "w-fit bg-slate-600" > ✅</ CheckboxIndicator >
33
+ < Checkbox . Indicator class = "w-fit bg-slate-600" > ✅</ Checkbox . Indicator >
34
34
< p > Second child</ p >
35
35
</ div >
36
36
</ Checkbox . Root >
You can’t perform that action at this time.
0 commit comments