Skip to content

Commit b4e4ed2

Browse files
textview, misc
1 parent 73cb2f6 commit b4e4ed2

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

packages/textview/README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ From NativeScript 5.x using this component will break the [NativeScript tab comp
1212

1313
##
1414

15-
For N 7.0
15+
For NativeScript 7.0+
1616
* `tns plugin add @nativescript-community/ui-material-textview`
1717

1818
##
1919

20-
For N 6.x
20+
For NativeScript 6.x
2121
* `tns plugin add nativescript-material-textview`
2222

2323
##
@@ -33,7 +33,7 @@ Be sure to run a new build after adding plugins to avoid any issues.
3333

3434
### Plain NativeScript
3535

36-
<span style="color:red">IMPORTANT: </span>_Make sure you include `xmlns:mdt="@nativescript-community/ui-material-textview"` on the Page element_
36+
IMPORTANT: _Make sure you include `xmlns:mdt="@nativescript-community/ui-material-textview"` on the Page element._
3737

3838
#### XML
3939

@@ -54,10 +54,10 @@ Be sure to run a new build after adding plugins to avoid any issues.
5454
mdctextview {
5555
ripple-color: blue;
5656
elevation: 4;
57-
stroke-color: blue; // the border color when active
58-
stroke-inactive-color: green; // the border color when inactive
59-
floating-color: blue; // the floating placeholder color when active
60-
floating-inactive-color: green; // the floating placeholder color when inactive
57+
stroke-color: blue; /* the border color when active */
58+
stroke-inactive-color: green; /* the border color when inactive */
59+
floating-color: blue; /* the floating placeholder color when active */
60+
floating-inactive-color: green; /* the floating placeholder color when inactive */
6161
}
6262
```
6363

@@ -108,7 +108,7 @@ Also, you can bind the text to some instance data using the `v-model` directive:
108108

109109
## Attributes
110110

111-
Inherite from Nativescript [TextView](https://docs.nativescript.org/ui/ns-ui-widgets/text-view) so it already has all the same attributes
111+
Inherite from Nativescript [TextView](https://docs.nativescript.org/ui/components/text-view) so it already has all the same attributes.
112112

113113
* **variant** _optional_
114114

0 commit comments

Comments
 (0)