File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change 1
- # NativeScript Material BottomSheets
1
+ # NativeScript Material BottomSheet
2
2
3
3
Material Design's [ Bottom Sheet] ( https://material.io/components/sheets-bottom ) component for NativeScript.
4
4
@@ -7,12 +7,12 @@ Material Design's [Bottom Sheet](https://material.io/components/sheets-bottom) c
7
7
8
8
## Installation
9
9
10
- For N 7.0
10
+ For NativeScript 7.0+
11
11
* ` tns plugin add @nativescript-community/ui-material-bottomsheet `
12
12
13
13
##
14
14
15
- For N 6.x
15
+ For NativeScript 6.x
16
16
* ` tns plugin add nativescript-material-bottomsheet `
17
17
18
18
##
@@ -45,7 +45,7 @@ import { install } from "@nativescript-community/ui-material-bottomsheet";
45
45
install ();
46
46
```
47
47
48
- Uses the same kind of API as [ NativeScript Modals] ( https://docs.nativescript.org/ui/modal-view )
48
+ Uses the same kind of API as [ NativeScript Modals] ( https://docs.nativescript.org/ui/modal-view ) .
49
49
50
50
#### TS
51
51
@@ -105,7 +105,7 @@ import { NativeScriptMaterialBottomSheetModule} from "@nativescript-community/ui
105
105
```
106
106
now you can show your custom BottomSheet using the ` BottomSheetService ` , this service follows the same implementation as the ` ModalService `
107
107
108
- ##### ItemComponent
108
+ #### ItemComponent
109
109
``` typescript
110
110
import { Component , ViewContainerRef } from ' @angular/core' ;
111
111
import { BottomSheetOptions , BottomSheetService } from ' @nativescript-community/ui-material-bottomsheet/angular' ;
@@ -134,7 +134,7 @@ export class ItemComponent {
134
134
}
135
135
}
136
136
```
137
- ##### ShareOptionsComponent
137
+ #### ShareOptionsComponent
138
138
``` html
139
139
<ListView
140
140
[items] =" options"
You can’t perform that action at this time.
0 commit comments