This repository has been archived on 2024-05-17. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
AlloVictor/AlloVictor/Views/Components/ShareView.swift
Victor Bodinaud 9ec3ba818b 🚀 First version
2024-04-18 19:32:10 +02:00

26 lines
522 B
Swift

//
// ShareView.swift
// AlloVictor
//
// Created by Bodinaud Victor on 14/04/2024.
//
import SwiftUI
struct ShareView: View {
let link: String
var body: some View {
HStack {
ShareLink(item: URL(string: link)!) {
Image(systemName: "square.and.arrow.up")
}
.foregroundColor(.black)
Button(action: {}, label: {
Image(systemName: "ellipsis.circle")
})
.foregroundColor(.black)
}
}
}