Skip to content

Talesoft/react-css-tools-js

Repository files navigation

React CSS Tools

Build status Coverage Vulnerabilities

Some loose React CSS helper functions.

Installation

npm i @talesoft/react-css-tools

TypeScript supported out-of-the-box.

Usage

classes(...args)

import { classes } from '@talesoft/react-css-tools';

function MyComponent(props) {
    return <div className={classes('MyComponent', props.active && 'active')}>
        Hello World!
    </div>;
}

Contributing

Before contributing, check out the Contribution Guidelines

Requires: npm

// Pull project
git clone https://github.com/Talesoft/tick-js

// Enter project directory
cd geometry-js

// Install development dependencies
npm install

// ... make your changes ...

// Run tests
npm run test

// Lint
npm run lint

// Fix linting problems
npm run lint:fix

// Build
npm run build

// ... create branch, commit, push, merge request etc. ...

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published