jmquigley

jmquigley/util.toggle

Functions used to toggle strings on/off within a Set

TypeScript
0
0
MIT License

This project provides utility functions for toggling strings on and off within a Set of strings, primarily aimed at managing class descriptors in React components. It offers a variety of functions like `toggle()`, `toggleIf()`, and `toggleOnIfElse()` to add or remove strings based on different conditions. The project is ideal for developers working with React who need to programmatically manage CSS class names or similar string-based attributes.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

jmquigley's profile
jmquigley
40 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet