Having C++ inherited components be editable in blueprints, when the component is declared in another component, and not in the actor itself

How did you even get foomesh to be editable? I thought inherited components were completely uneditable?
EDIT: I see it’s in the declaration macro. This was really informative, thanks.