class Views::Components::TextareaComponent

Defined in:

views/components/textarea_component.cr

Constant Summary

DEFAULT_CLASSES = "block p-2.5 w-full text-sm text-gray-900 bg-gray-50 rounded-lg shadow-sm border border-gray-300 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"

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : String | Nil = nil, rows : Int32 | String = 3, placeholder : String | Nil = nil) #

[View source]

Instance Method Detail

def blueprint(&) #

[View source]