Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

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. }