INNER CODE UNIT · JavaScript

getOffsetXY

mastermoo/react-native-action-button · ActionButton.js:60

  const getOffsetXY = () => {
    return {
      // paddingHorizontal: props.offsetX,
      paddingVertical: props.offsetY
    };
  };

  const getOverlayStyles = () => {
    return [
      styles.overlay,
      {
        elevation: props.elevation,
        zIndex: props.zIndex,
        justifyContent:
          props.verticalOrientation === "up" ? "flex-end" : "flex-start"
      }
    ];
  };

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…