diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 05:29:21 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-12-19 05:29:21 +0800 |
commit | 67521da5c1dcb39d6f0349e67eb05b17c3771a71 (patch) | |
tree | bd2102b39236adbf20ecced1d5731564da595692 /packages/website/ts/@next/components/button.tsx | |
parent | 9bd71aeeffbadebb41756a605ef6a0aacbfd47c4 (diff) | |
download | dexon-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.tsx | 6 |
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) { |