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

actions.js 520B

1234567891011121314151617181920
  1. // @flow
  2. import { SET_SETTINGS_VIEW_VISIBLE } from './actionTypes';
  3. /**
  4. * Sets the visibility of the view/UI which renders the app's settings.
  5. *
  6. * @param {boolean} visible - If the view/UI which renders the app's settings is
  7. * to be made visible, {@code true}; otherwise, {@code false}.
  8. * @returns {{
  9. * type: SET_SETTINGS_VIEW_VISIBLE,
  10. * visible: boolean
  11. * }}
  12. */
  13. export function setSettingsViewVisible(visible: boolean) {
  14. return {
  15. type: SET_SETTINGS_VIEW_VISIBLE,
  16. visible
  17. };
  18. }