use-dom-id

1.1.6 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i use-dom-id

Weekly Downloads

12

Version

1.1.6

License

MIT

Unpacked Size

11 kB

Total Files

13

Last publish

Collaborators

  • tabone