diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/website/ts/@next/components/aboutPageLayout.tsx | 3 | ||||
-rw-r--r-- | packages/website/ts/@next/components/button.tsx | 2 | ||||
-rw-r--r-- | packages/website/ts/@next/components/link.tsx | 2 |
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; |