import { Component } from "@angular/core";

@Component({
    selector: "main-listview",
    template: `
    <StackLayout>
        <Button text="ListView" [nsRouterLink]="'commonTemplate'"></Button>
        <Button text="ListViewCustomTemplate" [nsRouterLink]="'customTemplate'"></Button>
        <Button text="ListViewAsyncPipe" [nsRouterLink]="['/listView','asyncPipeTemplate']"></Button>
        <Button text="ListViewSegmentedBarTemplate" [nsRouterLink]="'segmentedBarTemplate'"></Button>
        <Button text="NestedTemplate" [nsRouterLink]="['/listView','nestedTemplate']"></Button>
        <Button text="MultipleTemplates" [nsRouterLink]="['/listView','multiple-templates']"></Button>
     </StackLayout>
    `,
})
export class ListViewMainPageComponent { }
