Skip to content

Commit baf9ad5

Browse files
committed
Updated Readme.
1 parent 9c3d934 commit baf9ad5

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed
-2 Bytes
Binary file not shown.

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ Usually used at the bottom of the screen. You can set an icon. You can set how t
6161
Next code for usage:
6262

6363
```swift
64-
// Appearance and Content
64+
// Set Appearance and Content
6565
let button = NativeLargeActionButton()
6666
button.setImage(UIImage.init(systemName: "plus.circle.fill")!)
6767
button.higlightStyle = .background
6868
button.applyDefaultAppearance(with: .init(content: .custom(.white), background: .tint))
6969

70-
// or use wrapper
70+
// or use Wrapper
7171
button.set(
7272
title: "Large Action",
7373
icon: UIImage.init(systemName: "plus.circle.fill")!,
@@ -84,19 +84,20 @@ button.frame = .init(x: 0, y: 0, width: 300, height: button.frame.height)
8484

8585
### [NativeSmallActionButton](https://github.com/ivanvorobei/NativeUIKit/blob/main/Sources/NativeUIKit/NativeSmallActionButton.swift)
8686

87-
You definitely saw this button in the AppStore. You can use it without the icon. Supports states `disabled` and `dimmed`.
87+
You definitely saw this button in the AppStore. You can use it without the icon.<br>
88+
Supports states `disabled` and `dimmed`.
8889

8990
![NativeSmallActionButton](https://github.com/ivanvorobei/NativeUIKit/blob/main/Assets/Readme/Elements/NativeSmallActionButton.svg)
9091

9192
Next code for usage:
9293

9394
```swift
94-
// Appearance and Content
95+
// Set Appearance and Content
9596
let button = NativeSmallActionButton()
9697
button.higlightStyle = .background
9798
button.applyDefaultAppearance(with: .init(content: .custom(.white), background: .tint))
9899

99-
// or use wrapper
100+
// or use Wrapper
100101
button.set(
101102
title: "Edit",
102103
icon: nil,

0 commit comments

Comments
 (0)