import { Component } from "preact";
import UserList from "../../components/userlist";
import Pageselector from "../../components/Pageselector";
class Users extends Component {
    shouldComponentUpdate() {
        return false
    }
    userlist = [
        { uid: 1234, first_name: 'Max', last_name: 'Muster', rfid: 'D3A2E35E', pin: 1234 },
        { uid: 12341, first_name: 'Max1', last_name: 'Muster', rfid: 'D3A2E35E', pin: 1234 },
        { uid: 12342, first_name: 'Max2', last_name: 'Muster', rfid: 'D3A2E35E', pin: 1234 },
    ];
    render() {
        return (

            <div class="container">
                <UserList userlist={this.userlist} />
                <Pageselector start={1} end={9} current={2} />
            </div>
        );
    }
}

export default Users;