Skip to content

Commit

Permalink
fix(forms): toggle switch typo
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Feb 14, 2024
1 parent da8b4f6 commit 3179d1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion content/components/forms.md
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ Use the following toggle switch component to ask for a yes or no type of input f
<label class="inline-flex items-center mb-5 cursor-pointer">
<input type="checkbox" value="" class="sr-only peer">
<div class="relative w-11 h-6 bg-gray-200 peer-focus:outline-none peer-focus:ring-4 peer-focus:ring-blue-300 dark:peer-focus:ring-blue-800 rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:w-5 after:h-5 after:transition-all dark:border-gray-600 peer-checked:bg-blue-600"></div>
<span class="ms-3 text-sm font-medium text-gray-900 dark:text-gray-300">Toggle me< </span>
<span class="ms-3 text-sm font-medium text-gray-900 dark:text-gray-300">Toggle me</span>
</label>

<label class="inline-flex items-center mb-5 cursor-pointer">
Expand Down

0 comments on commit 3179d1f

Please sign in to comment.