FileButtonView
struct FileButtonView: View
SwiftUI View
to select a file
Note
A file can be a normal file but also a folder-
The file to bookmark
Declaration
Swift
let bookmark: CustomFile
-
The action when a file is selected
Declaration
Swift
let action: () -> Void
-
Bool to show the file importer sheet
Declaration
Swift
private var isPresented: Bool = false
-
The body of the
View
Declaration
Swift
var body: some View
-
SwiftUI
See moreModifier
to add aFileImporter
sheetDeclaration
Swift
struct SelectFileSheet: ViewModifier