Skip to content

Commit 3524bd3

Browse files
committed
Update README.md
1 parent e126547 commit 3524bd3

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,14 @@ ShareLinkButton(item: URL(string: "https://example.com")!, icon: UIImage(systemN
6868
```swift
6969
let location = CLLocation(latitude: 37.7749, longitude: -122.4194) // Coordinates for San Francisco
7070

71-
// Create a ShareLinkButton using the defined location.
7271
ShareLinkButton(item: location, label: {
7372
Text("San Francisco location")
7473
})
7574
```
7675

7776
## Customization
78-
The button appearance can be customized via the label closure, allowing integration with the design system of the host application. Additionally, developers can specify custom activities or exclude certain activity types to tailor the sharing experience to the app's needs.
7977

80-
## Customizing the ShareLinkButton with UIActivityItemSource
78+
The button appearance can be customized via the label closure, allowing integration with the design system of the host application. Additionally, developers can specify custom activities or exclude certain activity types to tailor the sharing experience to the app's needs.
8179

8280
The `ShareLinkButton` in SwiftUI allows developers to customize the sharing experience by providing their own `UIActivityItemSource`. This interface enables precise control over the data shared and its format, depending on the activity type selected by the user.
8381

0 commit comments

Comments
 (0)