123456789101112131415161718192021 |
- // @flow
-
- import { SET_DISABLE_BUTTON } from './actionTypes';
-
- export * from './actions.any';
-
- /**
- * Disabled share video button.
- *
- * @param {boolean} disabled - The current state of the share video button.
- * @returns {{
- * type: SET_DISABLE_BUTTON,
- * disabled: boolean
- * }}
- */
- export function setDisableButton(disabled: boolean) {
- return {
- type: SET_DISABLE_BUTTON,
- disabled
- };
- }
|