MCPcopy Create free account
hub / github.com/DavidHDev/react-bits / cn

Function cn

src/ts-tailwind/TextAnimations/RotatingText/RotatingText.tsx:11–13  ·  view source on GitHub ↗
(...classes: (string | undefined | null | boolean)[])

Source from the content-addressed store, hash-verified

9} from 'motion/react';
10
11function cn(...classes: (string | undefined | null | boolean)[]): string {
12 return classes.filter(Boolean).join(' ');
13}
14
15export interface RotatingTextRef {
16 next: () => void;

Callers 1

RotatingText.tsxFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected