20 lines
410 B
TypeScript
20 lines
410 B
TypeScript
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
|
|
};
|
|
}
|