eterex-crypto-icons
v0.1.6
Published
Eterex Crypto Icons Contains more than 420 digital currency icons
Downloads
19
Maintainers
Readme
Eterex Crypto Icons (420+)
Eterex crypto icons Contains more than 420 digital currency icons.
Installation
Use the package manager npm to install foobar.
npm i eterex-crypto-icons
Global Usage
main.js or main.ts:
import CryptoIcon from "eterex-crypto-icons"
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App);
app.use(CryptoIcon);
app.mount('#app')
App.vue :
<template>
<CryptoIcon name="btc" :size="35"/>
</template>
<script>
export default {
name: 'App',
components: {
}
}
</script>
Single File Component Usage:
<template>
<CryptoIcon name="btc" :size="35"/>
</template>
<script>
import {CryptoIcon} from "eterex-crypto-icons"
export default {
name: 'App',
components: {
CryptoIcon
}
}
</script>
Props:
name:
{
type: String,
required: true,
description: "Name of a digital currency like (btc,eth,usdt,...)"
}
size:
{
type: Number,
default: 32,
description: "Set width and height of icon togather with a number"
}
Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.