I want my raycast to cast on component and return the parent component. Any help?

I have an object with 5 components and 10 static meshes in each meshes. Right now when I do a raycast it returns the static meshes. But I want it to return the component which own the casted mesh. Any idea?