Medium Button
Medium sized button
Preview
Usage
//
<script>
import { MediumButton } from '@magnito2/crypttops-library/buttons';
export default {
methods: {
clicked(){
alert('You clicked me');
}
}
}
</script>
<template>
<div>
<MediumButton
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