Classnames To Clsx

/icons/calendar.svg

Last update

Dec 18, 2024

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