mirror of
https://github.com/FBukovina/Atoll.git
synced 2026-10-28 15:44:32 +00:00
Restored files from old Mac, force pushing
This commit is contained in:
parent
5dd95228b8
commit
5040381840
126 changed files with 10431 additions and 67 deletions
26
DynamicIsland/components/EmptyState.swift
Normal file
26
DynamicIsland/components/EmptyState.swift
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
//
|
||||
// EmptyState.swift
|
||||
//
|
||||
// Created by Harsh Vardhan Goswami on 04/08/24.
|
||||
//
|
||||
|
||||
import SwiftUI
|
||||
|
||||
struct EmptyStateView: View {
|
||||
var message: String
|
||||
@State private var isVisible = true
|
||||
|
||||
var body: some View {
|
||||
HStack {
|
||||
MinimalFaceFeatures(
|
||||
height: 70, width: 80)
|
||||
Text(message)
|
||||
.font(.system(size:14))
|
||||
.foregroundColor(.gray)
|
||||
}.transition(.blurReplace.animation(.spring(.bouncy(duration: 0.3)))) // Smooth animation
|
||||
}
|
||||
}
|
||||
|
||||
#Preview {
|
||||
EmptyStateView(message: "Play some music babies")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue