18 lines
324 B
JavaScript
18 lines
324 B
JavaScript
export const POPOVER_OPEN = 'POPOVER_OPEN'
|
|
export const POPOVER_CLOSE = 'POPOVER_CLOSE'
|
|
|
|
export function openPopover(type, props) {
|
|
return {
|
|
type: POPOVER_OPEN,
|
|
popoverType: type,
|
|
popoverProps: props,
|
|
}
|
|
}
|
|
|
|
export function closePopover(type) {
|
|
return {
|
|
type: POPOVER_CLOSE,
|
|
popoverType: type,
|
|
}
|
|
}
|