Some loose React CSS helper functions.
npm i @talesoft/react-css-tools
TypeScript supported out-of-the-box.
import { classes } from '@talesoft/react-css-tools';
function MyComponent(props) {
return <div className={classes('MyComponent', props.active && 'active')}>
Hello World!
</div>;
}
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. ...