class Views::Components::TextFieldComponent

Defined in:

views/components/text_field_component.cr

Constant Summary

DEFAULT_CLASSES = "block w-full p-4 text-sm text-gray-900 bg-gray-50 rounded-lg border border-gray-300 shadow-sm focus:ring-primary-500 focus:border-primary-500 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-primary-500 dark:focus:border-primary-500 dark:shadow-sm-light"

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String = "text", id : String | Nil = nil, required : Bool = false, placeholder : String | Nil = nil) #

[View source]

Instance Method Detail

def blueprint #

[View source]