Пример #1
0
def create_note_window(store):
    note_list_view = create_note_list_view(store)
    note_view = create_note_view(store)
    note_title_view = create_note_title_view(store)

    return create_component(
        NoteWindow, store, map_state_to_props,
        note_list_view=note_list_view,
        note_view=note_view,
        note_title_view=note_title_view
    )
Пример #2
0
def create_note_title_view(store):
    return create_component(NoteTitleView, store, map_state_to_props)
Пример #3
0
def create_filter_view(store):
    return create_component(FilterView, store, map_state_to_props)
Пример #4
0
def create_note_list_view(store):
    return create_component(
        NoteListView, store, map_state_to_props,
        filter_view=create_filter_view(store)
    )