npm i react-feather-icon Usage importReactfrom'react';import{Camera}from'react-feather-icon';constApp=()=>{return<Camera/>;};exportdefaultApp; Icons can be configured with Provider: importReactfrom'react';import{FeatherIconProvider,Camera}from'react-feather-icon';constApp=()=>{return(<Feather...
【没有灵魂的记录】 【react-feather】 react-feather是React.js的简单漂亮的开源图标的集合。每个图标均以24x24网格设计,强调简洁性,一致性和可读性。 下载 1 yarn add react-feather 或者 1 npm i react-feather 使用 1 2 3 4 5 6 7 8 import Reactfrom'react'; import { Camera }from'react-feather'...
npm i react-feather Usage importReactfrom'react';import{Camera}from'react-feather';constApp=()=>{return<Camera/>};exportdefaultApp; Icons can be configured with inline props: <Cameracolor="red"size={48}/> If you can't use ES6 imports, it's possible to include icons from the compiled ...
"resolved": "https://registry.npmjs.org/@babel/helper-annotate-as-pure/-/helper-annotate-as-pure-7.8.3.tgz", "integrity": "sha512-6o+mJrZBxOoEX77Ezv9zwW7WV8DdluouRKNY/IR5u/YTMuKHgugHOzYWlYvYLpLA9nPsQCAAASpCIbjI9Mv+Uw==", ...
crypto-js进行加密,新项目需要使用rsa加密,这里就专门找了下 npm i jsencrypt, 然后页面头引入import JSEncrypt from 'jsencrypt'; const encrypt = new JSEncrypt(); encrypt.setPublicKey('你的公钥'); password = encrypt.encrypt(‘你的密码’);// 加密后的字符串...
SolidJS demo- demo using web component with SolidJS. Runnpm run devto start demo. Nuxt 3 usage When using web component with Nuxt 3, you need to tell Nuxt thaticonify-iconis a custom element. Otherwise it will show few warnings in dev mode. ...
Nuxt 3 demo- demo for web component with Nuxt 3. Runnpm run devto start demo. Requires custom config, see below. Vue 2 demo- demo for web component with Vue 2. Runnpm run buildto build demo andnpm run serveto start it. SolidJS demo- demo using web component with SolidJS. Runnpm...