Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/domitriusclark/testing-use-image
tester repo while I upgrade use-cloudinary
https://github.com/domitriusclark/testing-use-image
Last synced: 6 days ago
JSON representation
tester repo while I upgrade use-cloudinary
- Host: GitHub
- URL: https://github.com/domitriusclark/testing-use-image
- Owner: domitriusclark
- Created: 2020-11-01T11:33:00.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2020-11-03T06:46:42.000Z (about 4 years ago)
- Last Synced: 2024-11-01T12:09:19.419Z (about 2 months ago)
- Language: JavaScript
- Size: 210 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# use-image
> Lightweight URL generation utilities for Cloudinary images
[![NPM](https://img.shields.io/npm/v/use-image.svg)](https://www.npmjs.com/package/use-image) [![JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com)
## Install
```bash
npm install --save use-image
```## Usage
```jsx
import React, { Component } from 'react'import { useMyHook } from 'use-image'
const Example = () => {
const example = useMyHook()
return (
{example}
)
}
```## License
MIT © [domitriusclark](https://github.com/domitriusclark)
---
This hook is created using [create-react-hook](https://github.com/hermanya/create-react-hook).