dynamicimage
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

dynamicimage

a library to dynamically import images from path

NPM JavaScript Style Guide

Install

npm install --save dynamicimage

Usage

import React from 'react'
 
import Img from 'dynamicimage'
 
const App = () => {
  return (
    <>
      <Img src='/img/face.png' />
    </>
  )
}
 
export default App

License

MIT © sw2x-Developer

Readme

Keywords

none

Package Sidebar

Install

npm i dynamicimage

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

22.3 kB

Total Files

10

Last publish

Collaborators

  • sw2x