Class: Flowbite::Input::ValidationError

Inherits:
ViewComponent::Base
  • Object
show all
Defined in:
app/components/flowbite/input/validation_error.rb

Instance Method Summary collapse

Instance Method Details

#callObject



6
7
8
# File 'app/components/flowbite/input/validation_error.rb', line 6

def call
  tag.p(content, class: "mt-2 text-sm text-red-600 dark:text-red-500")
end