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.web.js 420B

123456789101112131415161718192021
  1. // @flow
  2. import { SET_DISABLE_BUTTON } from './actionTypes';
  3. export * from './actions.any';
  4. /**
  5. * Disabled share video button.
  6. *
  7. * @param {boolean} disabled - The current state of the share video button.
  8. * @returns {{
  9. * type: SET_DISABLE_BUTTON,
  10. * disabled: boolean
  11. * }}
  12. */
  13. export function setDisableButton(disabled: boolean) {
  14. return {
  15. type: SET_DISABLE_BUTTON,
  16. disabled
  17. };
  18. }