Rather than passing the config or any other random data as args, I think this would be more flexible if you bind the function to the label component so you can access everything via `this`.