Check out example codes for "Every user on your website has an image avatar that is displayed when". It will help you in understanding the concepts better.

Code Example 1

.avatar {
  vertical-align: middle;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: solid 2px gray;
}

Learn ReactJs, React Native from akashmittal.com