Skip to content

Commit

Permalink
Rm sheet
Browse files Browse the repository at this point in the history
  • Loading branch information
zmian committed Feb 2, 2024
1 parent 90c5e14 commit b7a5069
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/Xcore/SwiftUI/Components/Popup/Popup.swift
Original file line number Diff line number Diff line change
Expand Up @@ -155,12 +155,4 @@ extension Popup.Style {
dismissAfter: duration
)
}

/// A style that moves the popup in from the bottom edge of the screen.
public static let sheet = Self(
alignment: .bottom,
animation: .spring(),
transition: .move(edge: .bottom),
windowStyle: .init(label: "Sheet Window")
)
}

0 comments on commit b7a5069

Please sign in to comment.