This is a babel-macros to generate unique name.
With babel-macros and this package installed, you can use it like this.
import uniqueName from 'unique-name.macro'
const disabledClass = uniqueName() // or const disabledClass = uniqueName('disabledClass')
The above snippet will be compiled in build time:
import uniqueName from 'unique-classname.macro'
const disabledClass = 'disabledClass-1u6x1nq'
The unique name is based on file path and variable name, it will remain the same as long as you don't move the file or rename the variable.