import React, { Fragment } from 'react' import { Item } from '../../../_internals/item' import { Button, ButtonStatus } from '../../../button' import { Disclaimer } from '../../../disclaimer' import { SpacingDivider } from '../../../divider/spacingDivider' import { BusIcon } from '../../../icon/busIcon' import { CarpoolIcon } from '../../../icon/carpoolIcon' import { Address, Itinerary } from '../../../itinerary' import { LayoutNormalizer } from '../../../layout/layoutNormalizer' import { BaseSection as Section } from '../../../layout/section/baseSection' import { CardsSection } from '../../../layout/section/cardsSection' import { TabsSection } from '../../../layout/section/tabsSection' import { SearchRecap } from '../../../searchRecap' import { SubHeader } from '../../../subHeader' import { TabStatus } from '../../../tabs' import { TripCard } from '../../../tripCard' const createTripCardConfig = ({ highlighted = false } = {}) => ({ href: '/', itinerary: (
), price: '8,00€', flags: { ladiesOnly: true, maxTwo: true, autoApproval: true, }, highlighted: highlighted ? 'Closest match' : '', }) const defaultSearchRecapConfig = { from: 'Bordeaux', to: 'Toulouse, centre ville', info: "Aujourd'hui 14h30, 2 passagers", } const filterButton = ( ) const tabPanel = (
Recommandation basée sur vos critères de recherche.
Tomorrow
) const defaultTabsConfig = { activeTabId: 'tab1', status: TabStatus.FIXED, tabs: [ { id: 'tab1', label: 'All', panelContent: tabPanel, }, { id: 'tab2', label: 'Car', panelContent: tabPanel, icon: , }, { id: 'tab3', label: 'Bus', panelContent: tabPanel, icon: , }, ], } export const Tabs = (): JSX.Element => (
)