Answers for "import gatsby navigate back button"

0

import gatsby navigate back button

import React from "react";
import { navigate } from "gatsby";

export default function GoBack() {
  return (
    <Button onClick={() => navigate(-1)}>
      Go Back
    </Button>
  );
}
Posted by: Guest on June-20-2021

Browse Popular Code Answers by Language