Skip to content

Commit a3ea8a5

Browse files
authored
docs: small fix in solid/switch usage example (#2227)
1 parent 64d9b6d commit a3ea8a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

website/data/snippets/solid/switch/usage.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function Checkbox() {
1414
<span {...api().getControlProps()}>
1515
<span {...api().getThumbProps()} />
1616
</span>
17-
<span {...api().getLabelProps()}>{api.checked ? "On" : "Off"}</span>
17+
<span {...api().getLabelProps()}>{api().checked ? "On" : "Off"}</span>
1818
</label>
1919
)
2020
}

0 commit comments

Comments
 (0)