Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implemented class utility component #43

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ansh-tripathi
Copy link

@ansh-tripathi ansh-tripathi commented Jul 12, 2023

Description:
Implemented a utility component, that simplifies adding or removing CSS classes dynamically in a React application with following criteria:

✅ The component should accept a className prop and apply the corresponding CSS class to the rendered element.
✅ It should provide additional props or functions to conditionally add or remove classes based on specific conditions.

@ansh-tripathi ansh-tripathi changed the title Created class utility component Implemented class utility component Jul 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant