Skip to content

Commit b03d889

Browse files
authored
Merge pull request #136 from NativeScript/niliev/custom-directives
custom component UI update
2 parents 5bd0627 + e1241e7 commit b03d889

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

app/ui-category/button/button-examples.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@ export const routerConfig = [
3636
TitleAndNavButtonModule,
3737
NativeScriptModule,
3838
NativeScriptRouterModule,
39-
NativeScriptFormsModule, NativeScriptRouterModule.forChild(routerConfig)
39+
NativeScriptFormsModule,
40+
NativeScriptRouterModule.forChild(routerConfig)
4041
],
4142
declarations: [
4243
ButtonExamplesComponent,
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<FlexboxLayout flexDirection="column" class="p-15" sdkExampleTitle sdkToggleNavButton>
2-
<Label class="p-15 m-b-15" text="With our custom directive the grid below will be blue square in iOS and purple circle in Android"
2+
<Label class="p-15 m-b-15" text="With our custom directive the grid below will be blue square in iOS and green circle in Android"
33
textWrap="true"></Label>
44
<!-- >> custom-directive-html -->
5-
<GridLayout *sdkIfAndroid class="bg-primary" width="300" height="300" borderRadius="150"></GridLayout>
5+
<GridLayout *sdkIfAndroid width="300" height="300" backgroundColor="#a4c639" borderRadius="150"></GridLayout>
66
<GridLayout *sdkIfIos width="300" height="300" backgroundColor="#0099CC" borderRadius="2"></GridLayout>
77
<!-- << custom-directive-html -->
88
</FlexboxLayout>

0 commit comments

Comments
 (0)