class

Views::Components::TextareaComponent

Inherits Views::Components::BaseComponent < Blueprint::HTML < Blueprint::HTML::StandardElements < Blueprint::HTML::ElementRegistrar < Reference < Object

Constants

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

new(id : String | Nil = nil, rows : Int32 | String = 3, placeholder : String | Nil = nil)
Source

Instance methods

blueprint
Source