File size: 325 Bytes
1e92f2d | 1 2 3 4 5 6 7 8 9 10 | import { ActionJSON } from './action-json.interface.js'
export const actionHasDisabledComponent = (action: ActionJSON): boolean => (
typeof action.component !== 'undefined' && action.component === false
)
export const actionHasCustomComponent = (action: ActionJSON): boolean => (
typeof action.component === 'string'
)
|