2021-03-03 14:37:38 +00:00
|
|
|
// @flow
|
|
|
|
|
2021-04-16 09:43:34 +00:00
|
|
|
import { SET_DISABLE_BUTTON } from './actionTypes';
|
2021-03-03 14:37:38 +00:00
|
|
|
|
2021-04-16 09:43:34 +00:00
|
|
|
export * from './actions.any';
|
2021-03-03 14:37:38 +00:00
|
|
|
|
|
|
|
/**
|
|
|
|
* 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
|
|
|
|
};
|
|
|
|
}
|