Edit this page on Github

Text

A component for displaying a text.

@Component({
  selector: 'sample',
  template: `<Text [style]="{margin: 10}">Horizontal</Text>`
})
export class Sample {}

Available styles

https://facebook.github.io/react-native/docs/text.html#style

Inputs

Inherits all inputs from high level component

lineBreakMode: enum('tail', 'head', 'middle', 'clip')

To be documented

numberOfLines: number

To be documented

androidselectable: boolean

To be documented

iosallowFontScaling: boolean

To be documented

iossuppressHighlighting: boolean

To be documented


Getting started

Features

bootstrapAPIsGesturesHttpRouterStyle

Components

ActivityIndicatorHighLevelComponentImagePickerRefreshControlScrollViewSliderSwitchTextTextInputViewWebView
Android
DrawerLayoutPagerLayoutProgressBarToolbar
iOS
DatePickerNavigatorProgressViewSegmentedControlTabBarTabBarItem

Directives

Opacity feedbackRipple feedback