Created
April 18, 2016 14:05
-
-
Save ivanminutillo/9ca0f6de40ecbcddae70e2b173028401 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const AppStateRecord = Record({ | |
// todos: List<TodoItem>([]), | |
// uiState: new UIState({}) | |
news: List<CategoryItem>([]), | |
worklist: List<WorklistItem>([]), | |
smartlist: | |
vetrine: | |
}); | |
export class AppState extends AppStateRecord { | |
todos:List<TodoItem>; | |
uiState:UIState; | |
constructor(props:any) { | |
super(props); | |
} | |
} | |
export const defaultState = new AppState({ | |
news: List<CategoryItem>([ | |
]), | |
worlist: List<WorklistItem>([]), | |
uiState: new UIState({}) | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment