import React from 'react' ; import Tabs from './Tabs' ; import { TestLayout } from './../Console.story' ; export default { title : 'Teleport/Console' , } ; export const ConsoleTabs = ( ) => ( < TestLayout > < Tabs width = "100%" height = "32px" activeTab = { 35 } items = { items } parties = { parties } disableNew = { false } onNew = { ( ) => null } onSelect = { ( ) => null } /> < /TestLayout>); ConsoleTabs . storyName = 'Tabs' ; const parties = { '16' : [ { user : 'jiawu@ninu.fo' } , { user : 'gigbu@fe.ac' } ] , '15' : [ { user : 'difzu@gusebdem.gq' } , { user : 'tuicu@bu.ki' } ] , '27' : [ ] , } ; const items = [ { id : 35 , title : 'tuguwog' , type : 'terminal' , kind : 'nodes' , url : 'localhost' , created : new Date ( '2019-05-13T20:18:09Z' ) , } as const , { id : 22 , title : 'emwonepu' , type : 'terminal' , kind : 'nodes' , url : 'localhost' , created : new Date ( '2019-05-13T20:18:09Z' ) , } as const , { id : 23 , title : 'foguzaziw' , type : 'terminal' , kind : 'nodes' , url : 'localhost' , created : new Date ( '2019-05-13T20:18:09Z' ) , } as const , ] ;