您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

actions.js 415B

123456789101112131415161718
  1. // @flow
  2. import { NEW_CALENDAR_ENTRY_LIST } from './actionTypes';
  3. /**
  4. * Sends an action to update the current calendar list in redux.
  5. *
  6. * @param {Array<Object>} events - The new list.
  7. * @returns {{
  8. * type: NEW_CALENDAR_ENTRY_LIST,
  9. * events: Array<Object>
  10. * }}
  11. */
  12. export function updateCalendarEntryList(events: Array<Object>) {
  13. return {
  14. type: NEW_CALENDAR_ENTRY_LIST,
  15. events
  16. };
  17. }