Skip to content

Instantly share code, notes, and snippets.

@chrisoverstreet
Created June 24, 2020 14:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrisoverstreet/7851f13ec21911a482bf5fc49e2c9d23 to your computer and use it in GitHub Desktop.
Save chrisoverstreet/7851f13ec21911a482bf5fc49e2c9d23 to your computer and use it in GitHub Desktop.
pages/test.jsx
// @flow
// pages/test.jsx
import React from 'react';
import Link from 'next/link';
import LinkButton from '../components/homee-ui/LinkButton';
export default () => (
<div>
<Link href="/workbench/[bucket]" as="/workbench/active" passHref>
<LinkButton>Test</LinkButton>
</Link>
</div>
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment