import { MyPageSectionClass } from "../model/MyPageSectionClass"

@Component
export struct MyPageSectionItem {
  @Prop sectionItem: MyPageSectionClass;

  build() {
    Column(){
      Image(this.sectionItem.imageSrc)
        .width(35).height(35)
        .borderRadius(17.5)
        .objectFit(ImageFit.Auto)
      Text(this.sectionItem.title)
        .fontSize(12)
        .fontColor(Color.Black)
        .margin({top:6})
    }
  }
}
