Skip to content

Commit 73cb2f6

Browse files
textview, dividers
1 parent d78ba56 commit 73cb2f6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

packages/textview/README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,27 @@ Material Design's [Text view](https://material.io/develop/android/components/mat
1010
### :warning: Warning :warning:
1111
From NativeScript 5.x using this component will break the [NativeScript tab component](https://docs.nativescript.org/ui/components/tabs) on iOS (which is bound to be removed). This is needed to allow using the latest native iOS features. If needed you can use either [bottomnavigationbar](https://www.npmjs.com/package/@nativescript-community/ui-material-bottomnavigationbar) (this one is the best choice, closest to material design) or [material-tabs](https://www.npmjs.com/package/@nativescript-community/ui-material-tabs) (clone of the NativeScript one, but with a little less features).
1212

13+
##
14+
1315
For N 7.0
1416
* `tns plugin add @nativescript-community/ui-material-textview`
1517

18+
##
19+
1620
For N 6.x
1721
* `tns plugin add nativescript-material-textview`
1822

23+
##
24+
1925
If using ```tns-core-modules```
2026
* `tns plugin add [email protected]`
2127

28+
##
29+
2230
Be sure to run a new build after adding plugins to avoid any issues.
2331

2432
## Usage
2533

26-
2734
### Plain NativeScript
2835

2936
<span style="color:red">IMPORTANT: </span>_Make sure you include `xmlns:mdt="@nativescript-community/ui-material-textview"` on the Page element_
@@ -54,6 +61,8 @@ mdctextview {
5461
}
5562
```
5663

64+
##
65+
5766
### NativeScript + Angular
5867

5968
```typescript
@@ -74,6 +83,8 @@ import { NativeScriptMaterialTextViewModule } from "@nativescript-community/ui-m
7483
(textChange)="onTextChange($event)"></MDTextView>
7584
```
7685

86+
##
87+
7788
### NativeScript + Vue
7889

7990
```javascript

0 commit comments

Comments
 (0)