aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components
diff options
context:
space:
mode:
authorFred Carlsen <fred@sjelfull.no>2018-12-15 01:05:14 +0800
committerFred Carlsen <fred@sjelfull.no>2018-12-15 01:05:50 +0800
commitc5b63ca44120f83753ba23df63db1af85ae348f3 (patch)
treedb35f177d13d810fbcfcbd807468c38870ad339a /packages/website/ts/@next/components
parentea668d13768d3dd4e3ac9601a8b59f5d11dcd22b (diff)
downloaddexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar.gz
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar.bz2
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar.lz
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar.xz
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.tar.zst
dexon-sol-tools-c5b63ca44120f83753ba23df63db1af85ae348f3.zip
Misc typing
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;