UNPKG

@razorpay/blade

Version:

The Design System that powers Razorpay

19 lines (16 loc) 752 B
import '../../../utils/makeSize/index.js'; import '../../../tokens/global/index.js'; import { size } from '../../../tokens/global/size.js'; import { makeSize } from '../../../utils/makeSize/makeSize.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