BaseButton
ready
This page may be removed. Primer plans to move all Rails component documentation to Lookbook.
Description
Use BaseButton to render an unstyled <button> tag that can be customized.
Arguments
| Name | Default | Description |
|---|---|---|
tag | SymbolOne of | |
type | SymbolOne of | |
block | BooleanWhether button is full-width with | |
disabled | BooleanWhether or not the button is disabled. If true, this option forces | |
inactive | BooleanWhether the button looks visually disabled, but can still accept all the same interactions as an enabled button. | |
system_arguments | Hash |
Methods
disabled
Returns the value of attribute disabled.
disabled?
Returns the value of attribute disabled.