|
@@ -0,0 +1,44 @@
|
|
|
+<template>
|
|
|
+ <nb-container>
|
|
|
+ <Header title="Lessons" :navigation="this.props.navigation"/>
|
|
|
+
|
|
|
+ <nb-content>
|
|
|
+ <nb-tabs :renderTabBar="renderTabs">
|
|
|
+ <nb-tab heading="Tab1">
|
|
|
+ <tab-one />
|
|
|
+ </nb-tab>
|
|
|
+ <nb-tab heading="Tab2">
|
|
|
+ <tab-two />
|
|
|
+ </nb-tab>
|
|
|
+ <nb-tab heading="Tab3">
|
|
|
+ <tab-three />
|
|
|
+ </nb-tab>
|
|
|
+ <nb-tab heading="Tab4">
|
|
|
+ <tab-four />
|
|
|
+ </nb-tab>
|
|
|
+ <nb-tab heading="Tab5">
|
|
|
+ <tab-five />
|
|
|
+ </nb-tab>
|
|
|
+ </nb-tabs>
|
|
|
+ </nb-content>
|
|
|
+ </nb-container>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ import React from "react";
|
|
|
+ import { ScrollableTab } from "native-base";
|
|
|
+
|
|
|
+ import Header from "../components/Header";
|
|
|
+
|
|
|
+ export default {
|
|
|
+ name: 'Lessons',
|
|
|
+ components: {
|
|
|
+ Header
|
|
|
+ },
|
|
|
+ methods: {
|
|
|
+ renderTabs: function() {
|
|
|
+ return <ScrollableTab />;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+</script>
|