diff --git a/Examples/SwiftUIExample/SwiftUIExample.xcodeproj/project.pbxproj b/Examples/SwiftUIExample/SwiftUIExample.xcodeproj/project.pbxproj index 136fe048..89ec1f17 100644 --- a/Examples/SwiftUIExample/SwiftUIExample.xcodeproj/project.pbxproj +++ b/Examples/SwiftUIExample/SwiftUIExample.xcodeproj/project.pbxproj @@ -11,6 +11,7 @@ E220176D2C75D67900578E64 /* BezierIconButtonExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = E220176C2C75D67900578E64 /* BezierIconButtonExample.swift */; }; E22017702C75E09900578E64 /* BezierFloatingButtonExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = E220176F2C75E09900578E64 /* BezierFloatingButtonExample.swift */; }; E22017722C75E0A400578E64 /* BezierFloatingIconButtonExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = E22017712C75E0A400578E64 /* BezierFloatingIconButtonExample.swift */; }; + E255DE992C9C824E00102219 /* BezierEmojiExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = E255DE982C9C824E00102219 /* BezierEmojiExample.swift */; }; E258E6BE2C3D8D9C00F69680 /* BezierButtonExample.swift in Sources */ = {isa = PBXBuildFile; fileRef = E258E6BD2C3D8D9C00F69680 /* BezierButtonExample.swift */; }; E28212322A4B32F700018327 /* SwiftUIExampleApp.swift in Sources */ = {isa = PBXBuildFile; fileRef = E28212312A4B32F700018327 /* SwiftUIExampleApp.swift */; }; E28212342A4B32F700018327 /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E28212332A4B32F700018327 /* ContentView.swift */; }; @@ -27,6 +28,7 @@ E220176C2C75D67900578E64 /* BezierIconButtonExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierIconButtonExample.swift; sourceTree = ""; }; E220176F2C75E09900578E64 /* BezierFloatingButtonExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierFloatingButtonExample.swift; sourceTree = ""; }; E22017712C75E0A400578E64 /* BezierFloatingIconButtonExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierFloatingIconButtonExample.swift; sourceTree = ""; }; + E255DE982C9C824E00102219 /* BezierEmojiExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierEmojiExample.swift; sourceTree = ""; }; E258E6BD2C3D8D9C00F69680 /* BezierButtonExample.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BezierButtonExample.swift; sourceTree = ""; }; E282122E2A4B32F700018327 /* SwiftUIExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwiftUIExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; E28212312A4B32F700018327 /* SwiftUIExampleApp.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SwiftUIExampleApp.swift; sourceTree = ""; }; @@ -70,6 +72,7 @@ E2EF05FB2C5A4CDC00C57676 /* BezierLoaderExample.swift */, E2A392B62C958A540015FA6F /* BezierAvatarExample.swift */, E2A392B82C98169D0015FA6F /* BezierAvatarGroupExample.swift */, + E255DE982C9C824E00102219 /* BezierEmojiExample.swift */, ); path = Examples; sourceTree = ""; @@ -197,6 +200,7 @@ E2EF05FC2C5A4CDC00C57676 /* BezierLoaderExample.swift in Sources */, E2A392B92C98169D0015FA6F /* BezierAvatarGroupExample.swift in Sources */, E22017722C75E0A400578E64 /* BezierFloatingIconButtonExample.swift in Sources */, + E255DE992C9C824E00102219 /* BezierEmojiExample.swift in Sources */, E28D19602C365557009B34A2 /* AppDelegate.swift in Sources */, E28212342A4B32F700018327 /* ContentView.swift in Sources */, E28212322A4B32F700018327 /* SwiftUIExampleApp.swift in Sources */, diff --git a/Examples/SwiftUIExample/SwiftUIExample/ContentView.swift b/Examples/SwiftUIExample/SwiftUIExample/ContentView.swift index 27e38ef8..ec4e700a 100644 --- a/Examples/SwiftUIExample/SwiftUIExample/ContentView.swift +++ b/Examples/SwiftUIExample/SwiftUIExample/ContentView.swift @@ -20,6 +20,11 @@ struct ContentView: View { } label: { Text("Loader") } + NavigationLink { + BezierEmojiExample() + } label: { + Text("Emoji") + } } header: { Text("Status") } diff --git a/Examples/SwiftUIExample/SwiftUIExample/Examples/BezierEmojiExample.swift b/Examples/SwiftUIExample/SwiftUIExample/Examples/BezierEmojiExample.swift new file mode 100644 index 00000000..07e073d1 --- /dev/null +++ b/Examples/SwiftUIExample/SwiftUIExample/Examples/BezierEmojiExample.swift @@ -0,0 +1,24 @@ +// +// BezierEmojiExample.swift +// SwiftUIExample +// +// Created by Tom on 9/20/24. +// + +import SwiftUI + +import BezierSwift + +struct BezierEmojiExample: View { + var body: some View { + BezierEmoji( + name: "+1", + size: .pt24, + badge: .chat + ) + } +} + +#Preview { + BezierEmojiExample() +}