Nuclear Planning Manual

npm

Need private packages and team management tools?Check out npm Orgs. »

react-style-classes

2.0.2 • Public • Published

Kontentino - Making social media a piece of cake

react-style-classes by Kontentino

GITHUB: react-style-classes

Javascript package for merge arguments of component style classnames or merge another arguments.

Installation

$ npm install react-style-classes or $ yarn add react-style-classes

Usage

import classes from 'react-style-classes';

Example

<div className={ classes("className1", "className2") } />

or use CSS modules

<div className={ classes("className1", "className2", style.container) } />

Automatically filters boolean values

<div className={ classes("className1", "className2", isModalVisible && style.modalWrapperVisible) } />

install

npm i react-style-classes

Downloadsweekly downloads

5

version

2.0.2

license

ISC

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability