BaseButton
readyNot reviewed for a11y
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 | Required | Description |
---|---|---|
tag | Symbol One of | |
type | Symbol One of | |
block | Boolean Whether button is full-width with | |
disabled | Boolean Whether or not the button is disabled. If true, this option forces | |
inactive | Boolean Whether 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.