import React, { Component } from 'react';
import classNames from 'classnames/bind';
import Listing from 'components/routes/Generic/Listing';

import { Switch } from 'react-router';
import { Route } from 'react-router-dom';
import styleIdentifiers from './otherLayout.scss';

const styles = classNames.bind(styleIdentifiers);

export interface StateProps {}

export interface DispatchProps {}

export interface OwnProps {}

export type OtherLayoutProps = StateProps & DispatchProps & OwnProps;

interface OtherLayoutState {}

export default class OtherLayout extends Component<OtherLayoutProps, OtherLayoutState> {
  render(): JSX {
    return (
      <div className={styles('OtherLayout')}>
        <Switch>
          <Route component={Listing} />
        </Switch>
      </div>
    );
  }
}
