-
-
Notifications
You must be signed in to change notification settings - Fork 240
Open
Description
From @triniwiz on May 22, 2017 11:26
In 2.5.x i used the following to get a simple icon above some text design
<Button [nsRouterLinkActiveOptions]="{exact:true }" [nsRouterLinkActive]="['active']" [nsRouterLink]="item.menuLink" textWrap="true">
<FormattedString>
<Span [icon]="item.icon" [fontSize]="item.size ? item.size : '14'" fontFamily="icons"></Span>
<Span [text]="item.label ? '\n\n' : ''"></Span>
<Span class="menu-text" [text]="item.label"></Span>
</FormattedString>
</Button>
result
In 3.0.x it results in the following
tns 3.0.1
tns-ios 3.0.0
core-modules: 3.0.0 and next
Copied from original issue: NativeScript/NativeScript#4251