mirror of
https://github.com/luxfi/safe-ios.git
synced 2026-10-30 15:19:20 +00:00
28 lines
551 B
Swift
28 lines
551 B
Swift
//
|
|
// LinkText.swift
|
|
// Multisig
|
|
//
|
|
// Created by Dmitry Bespalov on 24.04.20.
|
|
// Copyright © 2020 Gnosis Ltd. All rights reserved.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct LinkText: View {
|
|
|
|
var title: String
|
|
|
|
var body: some View {
|
|
HStack(alignment: .center, spacing: 4) {
|
|
Text(title).body(.primary).underline()
|
|
Image("icon-external-link").foregroundColor(.primary)
|
|
}
|
|
}
|
|
}
|
|
|
|
struct LinkText_Previews: PreviewProvider {
|
|
static var previews: some View {
|
|
LinkText(title: "some external link")
|
|
}
|
|
}
|