diff --git a/demo/test/components/previews/checkbox_preview.rb b/demo/test/components/previews/checkbox_preview.rb index 05d8982..1f241d7 100644 --- a/demo/test/components/previews/checkbox_preview.rb +++ b/demo/test/components/previews/checkbox_preview.rb @@ -55,7 +55,7 @@ def disabled_checked_check_box # the checkbox component. def checkbox_with_helper_text - render(Flowbite::InputField::Checkbox.new(attribute: :confirmation, form: form, hint: "I agree with the terms and conditions.")) + render(Flowbite::InputField::Checkbox.new(attribute: :confirmation, form: form, hint: {content: "I agree with the terms and conditions."})) end # @!endgroup