function getStyles(props, state) {
  const { size, theme } = props;
  const { actionButton } = theme;

  const local = {
    container: {},
  };

  if (size) {
    local.container = {
      height: size,
      width: size,
      borderRadius: size / 2,
    };
  }

  local.container = {
    ...local.container,
    ...getPlatformElevation(state.elevation),
  };

  return {
    positionContainer: [
      actionButton.positionContainer,
      local.positionContainer,
      props.style.positionContainer,
    ],
    toolbarPositionContainer: [
      actionButton.toolbarPositionContainer,
      local.toolbarPositionContainer,
      props.style.toolbarPositionContainer,
    ],
    container: [actionButton.container, local.container, props.style.container],
    overlayContainer: [
      actionButton.overlayContainer,
      local.overlayContainer,
      props.style.overlayContainer,
    ],
    toolbarContainer: [
      actionButton.toolbarContainer,
      local.toolbarContainer,
      props.style.toolbarContainer,
    ],
    toolbarActionContainer: [
      actionButton.toolbarActionContainer,
      local.toolbarActionContainer,
      props.style.toolbarActionContainer,
    ],
    speedDialContainer: [
      actionButton.speedDialContainer,
      local.speedDialContainer,
      props.style.speedDialContainer,
    ],
    speedDialActionContainer: [
      actionButton.speedDialActionContainer,
      local.speedDialActionContainer,
      props.style.speedDialActionContainer,
    ],
    speedDialActionLabel: [
      actionButton.speedDialActionLabel,
      local.speedDialActionLabel,
      props.style.speedDialActionLabel,
    ],
    speedDialActionLabelContainer: [
      actionButton.speedDialActionLabelContainer,
      local.speedDialActionLabelContainer,
      props.style.speedDialActionLabelContainer,
    ],
    speedDialActionIconContainer: [
      actionButton.speedDialActionIconContainer,
      local.speedDialActionIconContainer,
      props.style.speedDialActionIconContainer,
    ],
    speedDialActionIcon: [
      actionButton.speedDialActionIcon,
      local.speedDialActionIcon,
      props.style.speedDialActionIcon,
    ],
    icon: [actionButton.icon, local.icon, props.style.icon],
  };
}
You can override any style for this button