Skip to content

Commit 6ce8ff0

Browse files
committed
Update README.md
1 parent 18bd2ed commit 6ce8ff0

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,12 @@ ShareLinkButton(item: URL(string: "https://example.com")!, icon: UIImage(systemN
6666

6767
### Sharing CLLocation
6868
```swift
69-
let location = CLLocation(latitude: 37.7749, longitude: -122.4194) // Example coordinates for San Francisco
70-
71-
// Create a ShareLinkButton using the defined location.
72-
ShareLinkButton(item: location, label: {
73-
Text("Share Location") // This is the label for the button.
74-
})}
69+
let location = CLLocation(latitude: 37.7749, longitude: -122.4194) // Example coordinates for San Francisco
70+
71+
// Create a ShareLinkButton using the defined location.
72+
ShareLinkButton(item: location, label: {
73+
Text("Share Location") // This is the label for the button.
74+
})}
7575
})
7676
```
7777

@@ -108,11 +108,11 @@ class CustomItemSource: NSObject, UIActivityItemSource {
108108
}
109109
}
110110
```
111-
```swift
112-
ShareLinkButton(itemSource: CustomItemSource(), label: {
113-
Text("Share with Custom Source")
114-
})
115-
```
111+
```swift
112+
ShareLinkButton(itemSource: CustomItemSource(), label: {
113+
Text("Share with Custom Source")
114+
})
115+
```
116116

117117
## License
118118
This package is licensed under the MIT license. See the LICENSE file for more details.

0 commit comments

Comments
 (0)