Skip to content

Commit d78ba56

Browse files
textview, headings
1 parent 3477967 commit d78ba56

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

packages/textview/README.md

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ If using ```tns-core-modules```
2121

2222
Be sure to run a new build after adding plugins to avoid any issues.
2323

24-
### Usage
24+
## Usage
2525

2626

27-
## Plain NativeScript
27+
### Plain NativeScript
2828

2929
<span style="color:red">IMPORTANT: </span>_Make sure you include `xmlns:mdt="@nativescript-community/ui-material-textview"` on the Page element_
3030

31-
### XML
31+
#### XML
3232

3333
```XML
3434
<Page xmlns:mdt="@nativescript-community/ui-material-textview">
@@ -41,7 +41,7 @@ Be sure to run a new build after adding plugins to avoid any issues.
4141
</Page>
4242
```
4343

44-
### CSS
44+
#### CSS
4545

4646
```CSS
4747
mdctextview {
@@ -54,7 +54,7 @@ mdctextview {
5454
}
5555
```
5656

57-
## NativeScript + Angular
57+
### NativeScript + Angular
5858

5959
```typescript
6060
import { NativeScriptMaterialTextViewModule } from "@nativescript-community/ui-material-textview/angular";
@@ -74,7 +74,7 @@ import { NativeScriptMaterialTextViewModule } from "@nativescript-community/ui-m
7474
(textChange)="onTextChange($event)"></MDTextView>
7575
```
7676

77-
## NativeScript + Vue
77+
### NativeScript + Vue
7878

7979
```javascript
8080
import TextViewPlugin from '@nativescript-community/ui-material-textview/vue';
@@ -99,8 +99,6 @@ Also, you can bind the text to some instance data using the `v-model` directive:
9999

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

102-
## Attributes
103-
104102
* **variant** _optional_
105103

106104
An attribute to set the variant of the textview. Can be ```outline``` or ```underline``` or ```filled```. No value means ```underline``` textview

0 commit comments

Comments
 (0)