function getListItemHeight(props, state) {
  const { leftElement, dense } = props;
  const { numberOfLines } = state;

  if (numberOfLines === 'dynamic') {
    return null;
  }

  if (!leftElement && numberOfLines === 1) {
    return dense ? 40 : 48;
  }

  if (numberOfLines === 1) {
    return dense ? 48 : 56;
  }
  if (numberOfLines === 2) {
    return dense ? 60 : 72;
  }
  if (numberOfLines === 3) {
    return dense ? 80 : 88;
  }

  return null;
}
Please see this: https://material.google.com/components/lists.html#lists-specs