Skip to content

Commit 8084f42

Browse files
committed
Add images
1 parent 0b81992 commit 8084f42

7 files changed

Lines changed: 35 additions & 0 deletions

File tree

Assets/1.png

41 KB
Loading

Assets/2.png

50.7 KB
Loading

Assets/3.png

45.1 KB
Loading

Assets/4.png

41.9 KB
Loading

Assets/5.png

45.3 KB
Loading

Example/SettingExample/PlaygroundView.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ struct PlaygroundView_Previews: PreviewProvider {
3535
PlaygroundView()
3636
}
3737
}
38+
39+

README.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,39 @@ Setting is available via the [Swift Package Manager](https://developer.apple.com
2323
https://github.com/aheze/Setting
2424
```
2525

26+
### Components
27+
28+
<table>
29+
<tr>
30+
<td>
31+
</td>
32+
33+
34+
```swift
35+
SettingStack {
36+
SettingPage(title: "Playground") {
37+
SettingCustomView {
38+
Color.blue
39+
.opacity(0.1)
40+
.cornerRadius(12)
41+
.overlay {
42+
Text("Put anything here!")
43+
.foregroundColor(.blue)
44+
.font(.title.bold())
45+
}
46+
.frame(height: 150)
47+
.padding(.horizontal, 16)
48+
}
49+
}
50+
}
51+
```
52+
<td>
53+
</td>
54+
55+
![](Assets/1.png)
56+
</tr>
57+
</table>
58+
2659
### Community
2760

2861
Author | Contributing | Need Help?

0 commit comments

Comments
 (0)