gatsby-theme-fast-ai-sidebar
Version:
Rebass-based gatsby theme used in Zoe.ai projects.
13 lines (9 loc) • 370 B
JavaScript
import React from 'react';
import { Link as IntlLink } from 'gatsby-plugin-intl';
import { Link as GatsbyLink } from 'gatsby';
import { Link as ComponentsLink } from '@fast-ai/ui-components';
const Link = props => <ComponentsLink as={IntlLink} {...props} />;
export const NoIntlLink = props => (
<ComponentsLink as={GatsbyLink} {...props} />
);
export default Link;