react-look-scope

0.0.2 • Public • Published

react-look-scope

React-Look extension to create custom scoped classnames.

It prefixes new generated classnames with the scope name.

react-look is a peer-dependency!

Installation

npm install react-look-scope --save

Usage

import {setClassNameScope, getClassNameScope} from 'react-look-scope'
 
setClassNameScope('myScope')
 
let scope = getClassNameScope()
 
scope === 'myScope' // => true

License

MIT

Dependencies (0)

    Dev Dependencies (3)

    Package Sidebar

    Install

    npm i react-look-scope

    Weekly Downloads

    6

    Version

    0.0.2

    License

    SEE LICENSE IN LICENSE

    Last publish

    Collaborators

    • dustin-h