concept border in category react native

appears as: border, border, borders
React Native in Action

This is an excerpt from Manning's book React Native in Action.

In the TouchableHighlight component, you check a few props and set styles based on the prop. If selected is true, you give it the style styles.selected. If border is true, you give it the style styles.border. If type is equal to the title, you give it styles.selected.

  • Create a border around the profile container using borderWidth
  • Figure 4.7 This is what figure 4.6 would look like if the centeredText style used padding: 10 instead of margin: 10 to position the text. The small circles highlight the points at which the bounding box of the Text component overlaps the border of the View component.

    c04_07.png