Skip to content

Instantly share code, notes, and snippets.

@jung-han
Created May 12, 2024 23:06
Show Gist options
  • Save jung-han/65be7d448bcdd7e640ca85d55a24f34b to your computer and use it in GitHub Desktop.
Save jung-han/65be7d448bcdd7e640ca85d55a24f34b to your computer and use it in GitHub Desktop.
스타일 이전 이후
<View
  style={{
    flexDirection: "row",
    backgroundColor: "red",
    margin: 10,
    width: 200,
    height: 100,
  }}
>
  <View
    style={{
      flexDirection: "row-reverse",
      backgroundColor: "blue",
      flex: 1,
      marginLeft: 50,
    }}
  >
    <View
      style={{
        backgroundColor: "green",
        height: "50%",
        flex: 1,
        marginLeft: 50,
      }}
    />
  </View>
</View>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment