Advertisement
Guest User

Untitled

a guest
Feb 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. interface EmployeeListProps {
  2. }
  3.  
  4. interface EmployeeListState {
  5.   employees: Array<Employee>;
  6.   isLoading: boolean;
  7. }
  8.  
  9. class EmployeeList extends React.Component<EmployeeListProps, EmployeeListState> {
  10.  
  11.   constructor(props: EmployeeListProps) {
  12.     super(props);
  13.  
  14.     this.state = {
  15.       employees: [],
  16.       isLoading: false
  17.     };
  18.   }
  19. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement