-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy pathBook.swift
48 lines (37 loc) · 883 Bytes
/
Book.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
import StorybookKit
import StorybookKitTextureSupport
import TextureSwiftSupport
@MainActor
let book = Book(title: "TextureSwiftSupport") {
Book.bookImageNode()
Book.hStackLayout()
Book.bookInteractiveNode()
Book.bookStyledEdgeNode()
Book.tiledLayer()
Book.layerBacked()
BookPage(title: "Transition") {
BookPush(title: "push") {
TransitionLayoutViewController()
}
}
BookPage(title: "Instagram post") {
BookPush(title: "push") {
InstagramPostCellViewController()
}
}
BookPage(title: "Adaptive layoutt") {
BookPush(title: "push") {
AdaptiveLayoutViewController()
}
}
BookPage(title: "Composition") {
BookPush(title: "push") {
CompositionCatalogViewController()
}
}
BookPage(title: "Test recursive layout") {
BookPush(title: "Push") {
RecursiveLayoutViewController()
}
}
}