How to connect properties in a nested component

Example: In my card component, there is a CTA that is itself implemented as a separate component. I would like to give editors the option to hide this CTA when it is not needed, for instance by applying a global is-hidden class. This works well as long as the editor has direct access to the CTA, where visibility is simply another configurable property—similar to its text or color. However, once the CTA is nested within another component, this direct control over its properties is lost. The question is how this visibility setting can be propagated or inherited by the parent component.