aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/@next/components/button.tsx
diff options
context:
space:
mode:
authorSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 05:29:21 +0800
committerSteve Klebanoff <steve.klebanoff@gmail.com>2018-12-19 05:29:21 +0800
commit67521da5c1dcb39d6f0349e67eb05b17c3771a71 (patch)
treebd2102b39236adbf20ecced1d5731564da595692 /packages/website/ts/@next/components/button.tsx
parent9bd71aeeffbadebb41756a605ef6a0aacbfd47c4 (diff)
downloaddexon-0x-contracts-67521da5c1dcb39d6f0349e67eb05b17c3771a71.tar.gz
dexon-0x-contracts-67521da5c1dcb39d6f0349e67eb05b17c3771a71.tar.zst
dexon-0x-contracts-67521da5c1dcb39d6f0349e67eb05b17c3771a71.zip
useAnchorTag -> shouldUseAnchorTag
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 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) {