UNPKG

press-plus

Version:
20 lines (17 loc) 386 B
import { newProps } from 'press-ui/press-popup/computed'; export const PRESS_POPUP_CELL_PROPS = [ 'showTitle', 'closeIcon', 'arrowIcon', 'title', 'button', 'borderButton', 'zIndex', 'popupClass', 'closeOnClickOverlay', 'customStyle', ] .reduce((acc: Record<string, any>, key) => { acc[key] = newProps[key as keyof typeof newProps]; return acc; }, {});