UNPKG

700 BTypeScriptView Raw
1import { TextBase } from '../text-base';
2
3/**
4 * Represents a text label.
5 */
6export class Label extends TextBase {
7 /**
8 * Gets the native [android widget](http://developer.android.com/reference/android/widget/TextView.html) that represents the user interface for this component. Valid only when running on Android OS.
9 */
10 android: any /* android.widget.TextView */;
11
12 /**
13 * Gets the native [UILabel](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UILabel_Class/) that represents the user interface for this component. Valid only when running on iOS.
14 */
15 ios: any /* UILabel */;
16
17 /**
18 * Gets or sets whether the Label wraps text or not.
19 */
20 textWrap: boolean;
21}