Well, then in both languages :)
basicly I added a new Function to the parent component buttonChange. Then I passed this function as prop to the button component. The button now executes the function, passed in from the parent, with the current isOnstate as a parameter. That way the parent component gets called, which currently also stores the isOn value. So now, the information about isOnfrom the button is also known in the parent component, it can render a matching text.
Regarding binding: using the Arrow Function syntax, the function is automaticly bound the the class it's defined in. Alternatily you can define the function regularly and call .bind(this) in the constructor.
Im Prinzip hab ich der Eltern-Komponente eine Funktion hinzugefügt buttonChange . Diese wird also parameter dem Button übergeben. Dieser kann nun die Funktion der Elternkomponente aufrufen und den aktuellen isOn Status übergeben, wenn dieser im Button sich ändert. Damit weiß nun auch die Elternkomponente über den isOnStatus bescheid und kann entsprechend den Text rendern.
Bezüglich des bindings: Durch die Definition als Pfeil-Funktion (arrow-function) ist die Methode automatisch an die Elternklasse gebunden. Alternativ kann man diese als normale funktion definitieren und im Konstrukter .bind(this)ausführen.