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.ts 410B

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