Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react add link to button

import { Link } from 'gatsby';

export default function Header() {		
<Button
    as={Link}
    to="/admin"
  	variant="text">
     	Get Started
  </Button>
}
 
PREVIOUS NEXT
Tagged: #react #add #link #button
ADD COMMENT
Topic
Name
1+3 =