Given an Android Native UI component called MyNativeUIComponent which extends a LinearLayout.
If I want to use View Style Props to set borders or padding, for example:
<MyNativeUIComponent
style={{
borderColor: 'red',
borderWidth: 10,
width: '100%'
}}>
</MyNativeUIComponent>
Do I have to expose and implement borderColor, borderWidth, and width as a @ReactProp or @ReactPropGroup properties of MyNativeUIComponent as described here, or does React Native implement these standards properties because MyNativeUIComponent extends LinearLayout ?
Note that if I use styles as described above, it works on iOS but not in Android. I found this question and I tried different suggestions and none of them work.
Note 2: I am creating this question because after reading the documentation is not clear to me if I should expose and manually set every native component's property or not.