app/helpers/components/checkbox_helper.rb in shadcn-ui-0.0.2 vs app/helpers/components/checkbox_helper.rb in shadcn-ui-0.0.3
- old
+ new
@@ -1,5 +1,5 @@
module Components::CheckboxHelper
- def render_checkbox(label:, name:)
- render "components/ui/checkbox", name: name, label: label
+ def render_checkbox(label:, name:, **options)
+ render "components/ui/checkbox", name: name, label: label, options: options
end
end