INNER CODE UNIT · JavaScript

getOrientation

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

  const getOrientation = () => {
    return { alignItems: alignItemsMap[props.position] };
  };

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

  const getOverlayStyles = () => {
    return [
      styles.overlay,
      {
        elevation: props.elevation,
        zIndex: props.zIndex,
        justifyContent:

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…