Skip to content

Latest commit

 

History

History
47 lines (33 loc) · 1.16 KB

README.md

File metadata and controls

47 lines (33 loc) · 1.16 KB

use-dom-id

goat

React hook for using a unique DOM ID

Build Status codecov npm version License: MIT

Click Here For Demo


Install

NPM

npm install --save use-dom-id

Yarn

yarn add use-dom-id

Usage

const useDOMID from 'use-dom-id'

const id = useDOMID('select')

image