dacong-fileicon

1.0.0 • Public • Published

安装

npm install dacong-fileicon@latest

使用

<script setup>
import { FileIcon } from 'dacong-fileicon'
let extension = '' // 文件的拓展名,🌰png sql js
let height = '' // 图标的高度
let width = '' // 图标的宽度
</script>
<template>
  <QrLogin :loginUrl="loginUrl" :height="height" :width="width" />
</template>

Props

{
    extension:'', //String 文件的拓展名 default:'in'
    height:'', //Number 图标的高度 default:20
    width:'' //Number 图标的宽度 default:20
}

注意事项

  1. 这是Vue3的组件
  2. 高度和宽度要保持一致,因为原图为1:1

Package Sidebar

Install

npm i dacong-fileicon

Weekly Downloads

0

Version

1.0.0

License

ISC

Unpacked Size

441 kB

Total Files

3

Last publish

Collaborators

  • dacong.wu