Skip to content

Commit

Permalink
Updated README
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiorubicini committed Jan 6, 2021
1 parent a16b08f commit 0142e62
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

SFSymbolsPicker is a simple and powerful SwiftUI picker that let you pick Apple's SFSymbols inside your iOS app with an easy binding!


<img src="./Resources/example.png" width=300>

## Example

Expand Down
Binary file added Resources/example.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 4 additions & 6 deletions Sources/SFSymbolsPicker/SFSymbolsPicker.swift
Original file line number Diff line number Diff line change
Expand Up @@ -65,14 +65,12 @@ public enum Category: String, CaseIterable, Identifiable {
case none = ""
}


#if DEBUG
struct SFSymbolsPicker_Previews: PreviewProvider {

static var previews: some View {

VStack {


SFSymbolsPicker(isPresented: .constant(false), icon: .constant(""), category: .commerce)
}
SFSymbolsPicker(isPresented: .constant(false), icon: .constant(""), category: .commerce)
}
}
#endif

0 comments on commit 0142e62

Please sign in to comment.