score:18

Accepted answer

you need wrap with a view your text and icon component. and you can set just padding horizontal and vertical in there.

       <view style={{
            paddingvertical: 15,
            paddinghorizontal: 10,
            flexdirection: "row",
            justifycontent: "space-between",
            alignitems: "center"
        }}>
            <text style={{
                    fontsize: 16,
                    color: "black"
                }}>kategorien:</text>
            <icon/>
        </view>

Related Query

More Query from same tag