Skip to content

Commit

Permalink
fix(ui): ajuste de className e style para checkbox e switch
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrieldallafavera committed Sep 18, 2024
1 parent 90c9470 commit 7fc6f62
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@continha/ui",
"version": "1.13.0",
"version": "1.13.1",
"private": false,
"repository": {
"type": "git",
Expand Down
4 changes: 4 additions & 0 deletions src/components/ui/form/builder/form-control.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,8 @@ export function FormControl<
aria-label={props.fieldConfig.label}
aria-description={props.fieldConfig.helperText}
disabled={disabled}
className={props.fieldConfig.className}
style={props.fieldConfig.style}
/>
);
}
Expand All @@ -202,6 +204,8 @@ export function FormControl<
disabled={disabled}
checked={props.field.value}
onCheckedChange={props.field.onChange}
className={props.fieldConfig.className}
style={props.fieldConfig.style}
/>
);
}
Expand Down

0 comments on commit 7fc6f62

Please sign in to comment.