mirror of
https://github.com/neon443/StickerSlack.git
synced 2026-03-11 21:36:17 +00:00
27 lines
357 B
Swift
27 lines
357 B
Swift
//
|
|
// ListRow.swift
|
|
// StickerSlack
|
|
//
|
|
// Created by neon443 on 21/11/2025.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct ListRow: View {
|
|
@State var number: Int
|
|
@State var text: String
|
|
|
|
var body: some View {
|
|
HStack {
|
|
Text("\(number)")
|
|
.padding(.trailing, 10)
|
|
.foregroundStyle(.gray)
|
|
Text(text)
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
ListRow(number: 1, text: "hi!")
|
|
}
|