aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components')
-rw-r--r--packages/website/ts/@next/components/aboutPageLayout.tsx3
-rw-r--r--packages/website/ts/@next/components/button.tsx2
-rw-r--r--packages/website/ts/@next/components/link.tsx2
3 files changed, 4 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/aboutPageLayout.tsx b/packages/website/ts/@next/components/aboutPageLayout.tsx
index 71cb7ef85..58ac2ff83 100644
--- a/packages/website/ts/@next/components/aboutPageLayout.tsx
+++ b/packages/website/ts/@next/components/aboutPageLayout.tsx
@@ -14,7 +14,7 @@ interface Props {
description: React.ReactNode | string;
linkLabel?: string;
linkUrl?: string;
- children?: Node;
+ children?: React.ReactNode;
}
export const AboutPageLayout = (props: Props) => (
@@ -41,6 +41,7 @@ export const AboutPageLayout = (props: Props) => (
<AnimatedLink
to={props.linkUrl}
isWithArrow={true}
+ isAccentColor={true}
>
{props.linkLabel}
</AnimatedLink>
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index 6f5988e36..05afa3534 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -9,7 +9,7 @@ import { colors } from 'ts/style/colors';
interface ButtonInterface {
bgColor?: string;
color?: string;
- children?: Node | string;
+ children?: React.ReactNode | string;
isTransparent?: boolean;
isNoBorder?: boolean;
isNoPadding?: boolean;
diff --git a/packages/website/ts/@next/components/link.tsx b/packages/website/ts/@next/components/link.tsx
index ec0cba15e..c3633987a 100644
--- a/packages/website/ts/@next/components/link.tsx
+++ b/packages/website/ts/@next/components/link.tsx
@@ -4,7 +4,7 @@ import styled from 'styled-components';
interface LinkInterface {
color?: string;
- children?: Node | string;
+ children?: React.ReactNode | string;
isNoArrow?: boolean;
hasIcon?: boolean | string;
isBlock?: boolean;