Skip to content

Commit

Permalink
update migration guide
Browse files Browse the repository at this point in the history
  • Loading branch information
lkzhao committed Jul 17, 2024
1 parent 6bd9624 commit 65bc872
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ With version 4.0, UIComponent supports displaying `Component` on any `UIView`, n
For example, before 4.0, you have to create an instance of `ComponentView` to display a Component
```swift
// before version 4.0
let componentView = ComponentView()
override func viewDidLoad() {
super.viewDidLoad()
let componentView = ComponentView()
componentView.component = VStack {
Text("Hello World!")
}
Expand Down

0 comments on commit 65bc872

Please sign in to comment.