How to set horizontal resizing to fill container on frame node

I need to set horizontal resizing property for frame to “Fill container”.
I am using primaryAxisSizingMode() function, but it does not have this option.
Is there any other way to adjust horizontal resizing?