Changing the outline color of a symbol "Green Pilot Light'

I am trying to change color of the outline of the blue pilot light symbol to red but when i try to do so, it fills the entire symbol with red color. I have posted the screenshots regarding the issue.


The second image shows how the view initially looks but I want color the border of the blue circle to red color.
.
Can anyone help me with a solution?

You are changing the fill for the element. If you want the "outline" or stroke, you should change props.elements.[number].stroke.paint.
If I understood you correctly.
Also what's in the props.elements.1.

Is nt this what you meant?

Yes, but now the structure of the elements seems different then from the original post.
Which element of a symbol factory are you using?
Edit:
Looks like you are using Blue pilot light 2. Changing it's stroke is very obvious