Skip to content

Commit 395cd73

Browse files
committed
Fixed TYPO in Documentation & ReadMe
1 parent 70ad47f commit 395cd73

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

DOCUMENTATION.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,7 @@ struct ContentView: View {
477477

478478
## `MUIDialogSheet`
479479

480-
`MUIAlert` provides a convenient way to present a MaterialUI style dialog sheet over the current view.
480+
`MUIDialogSheet` provides a convenient way to present a MaterialUI style dialog sheet over the current view.
481481

482482
`.mUIDialogSheet()` is an extension to the `View` protocol in SwiftUI, offering a modifier that can be applied to any view. This modifier presents a MaterialUI style dialog sheet.
483483

@@ -498,7 +498,7 @@ struct ContentView: View {
498498

499499
var body: some View {
500500
VStack {
501-
Button("Show Alert") {
501+
Button("Show dialog sheet") {
502502
showDialogSheet.toggle()
503503
}
504504
}
@@ -507,7 +507,6 @@ struct ContentView: View {
507507
.mUIDialogSheet(isPresented: $showDialogSheet) {
508508
Text("Dialog sheet content")
509509
}
510-
}
511510
}
512511
}
513512
```

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ MaterialUIKit is a SwiftUI package offering a set of user interface components i
3333
![DatePicker](https://github.com/aumChauhan/MaterialUIKit/assets/83302656/ce23247f-4fa4-4c75-9841-8c062902adbc)
3434

3535
### Dialog Sheet
36-
![Dialog Sheet](https://github.com/aumChauhan/MaterialUIKit/assets/83302656/9d65a7ff-1afc-4d55-bd30-d30491525020)
36+
![Dialog Sheet](https://github.com/aumChauhan/MaterialUIKit/assets/83302656/4018cb9b-64c5-4b99-a6ca-b452277cc056)
3737

3838
### Floating Button
3939
![FAB](https://github.com/aumChauhan/MaterialUIKit/assets/83302656/fca45946-4c95-4d65-b834-054763e456ba)

0 commit comments

Comments
 (0)