1.1.0 • Published 4 years ago

@egjiri/react-kit v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

A collection of useful React utility functions and components that can be used across projects. Written in TypeScript.

Installation

Install through npm:

npm install @egjiri/react-kit

Install through yarn:

yarn add @egjiri/react-kit

Usage Examples

import { buildClassName } from '@egjiri/react-kit/utils'

const className = 'card';
const isActive = true;
const isHidden = false;

buildClassName('static', className, isActive && 'active', isHidden && 'hidden');
// => "static card active"

Development

  1. Install dependencies: yarn
  2. Run tests yarn test (tests automatically re-run when TypeScript src files change)
  3. Start Coding!

Release

This project is released through GitHub Actions workflows that: 1. Run the test suite and linters 1. Build the TypeScript codebase into a build folder with JavaScript and TypeScript type definition files. 1. Publish the build folder to the NPM Registry.

1.1.0

4 years ago

1.0.8

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago