@razorpay/blade
Version:
The Design System that powers Razorpay
10 lines (7 loc) • 716 B
JavaScript
import { makeSize } from '../../../utils/makeSize/makeSize.js';
import '../../../tokens/global/typography.js';
import '../../../tokens/global/motion.js';
import { size } from '../../../tokens/global/size.js';
var actionListMaxHeight=size[300];var getActionListPadding=function getActionListPadding(theme){return theme.spacing[3];};var getBaseListBoxWrapperStyles=function getBaseListBoxWrapperStyles(props){return {maxHeight:props.isInBottomSheet?undefined:makeSize(actionListMaxHeight),padding:props.isInBottomSheet?undefined:makeSize(getActionListPadding(props.theme))};};
export { actionListMaxHeight, getActionListPadding, getBaseListBoxWrapperStyles };
//# sourceMappingURL=getBaseListBoxWrapperStyles.js.map