/**
 * React Native Full App (https://store.enappd.com/product/react-native-full-app)
 *
 * Copyright © 2019-present Enappd. All rights reserved.
 *
 * This source code is licensed as per the terms found in the
 * LICENSE.md file in the root directory of this source tree.
 */

import React from 'react';
import ArtboardListView from './artboardListView';
import { NavigationStackScreenProps } from 'react-navigation-stack';

interface ArtBoardProps extends NavigationStackScreenProps {

}

export default class ArtboardListContainer extends React.Component<ArtBoardProps> {
    constructor(props: any) {
        super(props);
        this.state = {};
    }
    userDetails = { name: 'Partricia Howard', description: 'St. Paul' };

    openSideMenu = () => {
        this.props.navigation.toggleDrawer();
    }

    render() {
        return (
            <ArtboardListView
                userDetails={this.userDetails}
                openSideMenu={this.openSideMenu}
            />
        );
    }
}

