CTA Button
Call to action button
Preview
Join our LeaderBoard
Usage
//
<script>
import { CTAButton } from '@magnito2/crypttops-library';
export default {
methods: {
clicked(){
alert('You clicked me');
}
}
}
</script>
<template>
<div>
<CTAButton
value="Join our LeaderBoard"
:action="clicked"
>
</div>
</template>
Props
value
- Text to be displayed on the buttonaction
- Action to be performed when the button is clicked