class Views::Components::ButtonComponent

Defined in:

views/components/button_component.cr

Constant Summary

DEFAULT_CLASSES = "text-white bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 mr-2 mb-2 dark:bg-blue-600 dark:hover:bg-blue-700 focus:outline-none dark:focus:ring-blue-800"

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String = "button") #

[View source]

Instance Method Detail

def blueprint(&) #

[View source]