aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/@next/components/button.tsx')
-rw-r--r--packages/website/ts/@next/components/button.tsx6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/button.tsx b/packages/website/ts/@next/components/button.tsx
index fdf396ef0..baca01a14 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) {