This commit is contained in:
mgabdev
2020-03-11 19:56:18 -04:00
parent af1627815c
commit 7712ebdbbd
79 changed files with 815 additions and 389 deletions

View File

@@ -1,12 +1,11 @@
export const POPOVER_OPEN = 'POPOVER_OPEN'
export const POPOVER_CLOSE = 'POPOVER_CLOSE'
export function openPopover(type, keyboard = false, placement = 'top') {
export function openPopover(type, props) {
return {
keyboard,
placement,
type: POPOVER_OPEN,
popoverType: type,
popoverProps: props,
}
}