FollowButton
class FollowButton extends Component (View source)
Traits
Properties
$followable | |||
$localePrefix |
Methods
withAttributes(array $attributes)
Automatically set the class attribute on the attribute bag.
from
Streamable
__construct($followable, string $buttonClass = 'btn block')
No description
bool
shouldRender()
No description
render()
No description
Details
string|null
streamableClassName()
No description
array
data()
Automatically set the class attribute on the attribute bag.
Streamable
withAttributes(array $attributes)
Automatically set the class attribute on the attribute bag.
__construct($followable, string $buttonClass = 'btn block')
No description
bool
shouldRender()
No description
render()
No description