aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/website/ts/@next/components/button.tsx6
-rw-r--r--packages/website/ts/@next/components/definition.tsx4
-rw-r--r--packages/website/ts/@next/pages/ecosystem.tsx4
-rw-r--r--packages/website/ts/@next/pages/instant.tsx2
4 files changed, 8 insertions, 8 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index 790e31468..675f69308 100644
--- a/packages/website/ts/@next/components/button.tsx
+++ b/packages/website/ts/@next/components/button.tsx
@@ -23,14 +23,14 @@ interface ButtonInterface {
to?: string;
onClick?: () => any;
theme?: ThemeInterface;
- useAnchorTag?: boolean;
+ shouldUseAnchorTag?: boolean;
}
export const Button = (props: ButtonInterface) => {
- const { children, href, isWithArrow, to, useAnchorTag, target } = props;
+ const { children, href, isWithArrow, to, shouldUseAnchorTag, target } = props;
let linkElem;
- if (href || useAnchorTag) {
+ if (href || shouldUseAnchorTag) {
linkElem = 'a';
}
if (to) {
diff --git a/packages/website/ts/@next/components/definition.tsx b/packages/website/ts/@next/components/definition.tsx
index 12c22a5d6..8adef8d54 100644
--- a/packages/website/ts/@next/components/definition.tsx
+++ b/packages/website/ts/@next/components/definition.tsx
@@ -9,7 +9,7 @@ interface Action {
label: string;
url?: string;
onClick?: () => void;
- useAnchorTag?: boolean;
+ shouldUseAnchorTag?: boolean;
}
interface Props {
@@ -57,7 +57,7 @@ export const Definition = (props: Props) => (
onClick={item.onClick}
isWithArrow={true}
isAccentColor={true}
- useAnchorTag={item.useAnchorTag}
+ shouldUseAnchorTag={item.shouldUseAnchorTag}
target="_blank"
>
{item.label}
diff --git a/packages/website/ts/@next/pages/ecosystem.tsx b/packages/website/ts/@next/pages/ecosystem.tsx
index ab73cc52f..3d3e219a2 100644
--- a/packages/website/ts/@next/pages/ecosystem.tsx
+++ b/packages/website/ts/@next/pages/ecosystem.tsx
@@ -69,7 +69,7 @@ export const NextEcosystem = () => (
href={constants.URL_ECOSYSTEM_APPLY}
isWithArrow={true}
isAccentColor={true}
- useAnchorTag={true}
+ shouldUseAnchorTag={true}
>
Apply now
</Button>
@@ -77,7 +77,7 @@ export const NextEcosystem = () => (
href={constants.URL_ECOSYSTEM_BLOG_POST}
isWithArrow={true}
isAccentColor={true}
- useAnchorTag={true}
+ shouldUseAnchorTag={true}
target="_blank"
>
Learn More
diff --git a/packages/website/ts/@next/pages/instant.tsx b/packages/website/ts/@next/pages/instant.tsx
index 94633116f..056935189 100644
--- a/packages/website/ts/@next/pages/instant.tsx
+++ b/packages/website/ts/@next/pages/instant.tsx
@@ -39,7 +39,7 @@ const featuresData = [
{
label: 'Get Started',
onClick: getStartedClick,
- useAnchorTag: true,
+ shouldUseAnchorTag: true,
},
{
label: 'Explore the Docs',