Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

cx

Constructs class strings conditionally.

Twinds version of popular libraries like classnames or clsx. The key advantage of cx is that it supports twinds enhanced class name syntax like grouping and aliases.

function cx(...input: Class[]): string;
§
cx(...input: Class[]): string
[src]

§Parameters

§
...input: Class[] optional
[src]

§Return Type

§
string
[src]