Classnames To Clsx

1.0.0Last update May 10, 2024
by@alexmeah

Classnames to clsx

Description

Converts classnames to clsx.

Examples

import classnames from "classnames";
const classes = classnames("foo", "bar", "baz");
import clsx from "clsx";
const classes = clsx("foo", "bar", "baz");

Build custom codemods

Use AI-powered codemod studio and automate undifferentiated tasks for yourself, colleagues or the community

background illustrationGet Started Now