@ComponentV2
export struct TextItemChildView {
  @Param text: string = '';
  @Param rightText: string = '';
  @Param divider: boolean = true;

  build() {
    Column() {
      Row() {
        Text(this.text)
          .fontColor($r('app.color.color_1a1a1a'))
          .fontSize(14)
          .layoutWeight(1)

        Text(this.rightText)
          .fontColor($r('app.color.color_666666'))
          .fontSize(15)
          .margin({ right: 1 })

        Image($r('app.media.ic_arrow_dp16'))
          .width(16)
          .height(16)
      }
      .layoutWeight(1)

      Divider()
        .color($r('app.color.color_eff2f7'))
        .strokeWidth(1)
        .visibility(this.divider ? Visibility.Visible : Visibility.None)
    }
    .width('100%')
    .height('100%')
  }
}