blob: fa9088ed2046da4221cca3a09f75e0b2735c21a5 [file] [log] [blame]
Micha Schwab01b35682018-06-28 13:56:49 +01001/*
2 * Copyright (C) 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17import * as m from 'mithril';
18import TrackShell from './track_shell';
19
20const Track = {
21 view() {
22 return m('.track',
23 { style: { border: "1px solid #ccc", padding: "20px" } },
24 m('h1', "Track"),
25 m(TrackShell)
26 );
27 }
28} as m.Component;
29
30export default Track;