Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/fields/Checkbox.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export const Checkbox: FC<ICheckbox> = (props: ICheckbox) => {
<input
type="checkbox"
id={props.name}
className="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
className="size-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500 cursor-pointer"
checked={props.checked}
onChange={props.onChange}
disabled={props.disabled}
Expand All @@ -27,7 +27,7 @@ export const Checkbox: FC<ICheckbox> = (props: ICheckbox) => {
<div className="ml-3">
<label
htmlFor={props.name}
className="font-medium text-gray-700 dark:text-gray-200"
className="font-medium text-gray-700 dark:text-gray-200 cursor-pointer"
style={
props.disabled ? { textDecoration: 'line-through' } : undefined
}
Expand Down
4 changes: 2 additions & 2 deletions src/components/fields/RadioGroup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const RadioGroup: FC<IRadioGroup> = (props: IRadioGroup) => {
>
<input
type="radio"
className="size-4 border-gray-300 text-indigo-600 focus:ring-indigo-500"
className="size-4 border-gray-300 text-indigo-600 focus:ring-indigo-500 cursor-pointer"
id={`${props.name}_${item.value.toLowerCase()}`}
name={props.name}
value={item.value}
Expand All @@ -52,7 +52,7 @@ export const RadioGroup: FC<IRadioGroup> = (props: IRadioGroup) => {
/>
<label
htmlFor={`${props.name}_${item.value.toLowerCase()}`}
className="ml-3 block text-sm font-medium text-gray-700 dark:text-white"
className="ml-3 block text-sm font-medium text-gray-700 dark:text-white cursor-pointer"
>
{item.label}
</label>
Expand Down
8 changes: 4 additions & 4 deletions src/components/fields/__snapshots__/Checkbox.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 16 additions & 16 deletions src/components/fields/__snapshots__/RadioGroup.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading