You are adding alignment to a component’s style in React native to determine the alignment of children along the secondary axis.
If you have chosen the alignment as ‘stretch’, which of the following components will allow the stretch to have an effect?
Options
- Children having a fixed dimension along the secondary axis
- Children not having a fixed dimension along the secondary axis
- Children having a fixed dimension along the primary axis
- Children having a variable dimension along the primary axis