withOverride

Applies a component override, returning a builder that respects replacement and wrapper semantics.