Send Update Counter

A LiveComponent that expects its parent LiveView to send updates via send_update/2.

Count (from parent): 0

This component only changes when the parent LiveView handles send-update-counter-single-default and calls send_update/2.

Attribute Type Documentation Default Value
label :string

Button label

"Request increment"
count :integer

Current count, set by parent via send_update