You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

actions.native.js 293B

12345678910111213141516
  1. // @flow
  2. import { TOGGLE_CHAT } from './actionTypes';
  3. export * from './actions.any';
  4. /**
  5. * Toggles display of the chat panel.
  6. *
  7. * @returns {Function}
  8. */
  9. export function toggleChat() {
  10. return function(dispatch: (Object) => Object) {
  11. dispatch({ type: TOGGLE_CHAT });
  12. };
  13. }