diff --git a/site/src/system/Columns.tsx b/site/src/system/Columns.tsx index 99216d195..8988e1f1c 100644 --- a/site/src/system/Columns.tsx +++ b/site/src/system/Columns.tsx @@ -23,6 +23,7 @@ export interface ColumnsProps { collapseOnMobile?: boolean; collapseOnTablet?: boolean; } + export const Columns = ({ children, space, diff --git a/site/src/typography/Link.tsx b/site/src/typography/Link.tsx index ed1dc4311..704a4ae95 100644 --- a/site/src/typography/Link.tsx +++ b/site/src/typography/Link.tsx @@ -1,6 +1,6 @@ import { - Link as RouterLink, - LinkProps as RouterLinkProps, + Link as ReactRouterLink, + LinkProps as ReactRouterLinkProps, } from 'react-router-dom'; import { HashLink } from 'react-router-hash-link'; import classnames from 'classnames'; @@ -8,7 +8,7 @@ import { TextProps, useTextStyles } from './Text'; import * as styles from './Link.css'; import { sprinkles } from '../system/styles/sprinkles.css'; -export interface LinkProps extends RouterLinkProps { +export interface LinkProps extends ReactRouterLinkProps { baseline?: boolean; size?: 'standard' | 'small' | 'xsmall'; underline?: 'always' | 'hover' | 'never'; @@ -50,7 +50,7 @@ export const Link = ({ } return ( - window.scrollTo(0, 0)} to={to} {...restProps}