class UI::Button
- UI::Button
- BaseComponent
- Lucky::BaseComponent
- Reference
- Object
Defined in:
components/ui/button.crConstant Summary
-
ASSIGNS =
[size : Size = Size::Medium] of Nil
-
BUTTON_BACKGROUND_ACTIVE =
"bg-primary-700"
-
BUTTON_BACKGROUND_DEFAULT =
"bg-primary-600"
-
BUTTON_BACKGROUND_HOVER =
"bg-primary-500"
-
BUTTON_BORDER_FOCUS =
"border-primary-700"
Constructors
Class Method Summary
-
.file_location
Returns the relative file location to the project root.
Instance Method Summary
Class methods inherited from class BaseComponent
file_location
file_location
Constructor Detail
Class Method Detail
def self.file_location
#
Returns the relative file location to the project root. e.g. src/components/my_component.cr