Answer the question
In order to leave comments, you need to log in
Is ClassValue the same as the result of executing the clsx function or something else?
import clsx, { ClassValue } from 'clsx';
Is ClassValue the same as the result of executing the clsx function or something else?
Answer the question
In order to leave comments, you need to log in
This is a type alias that combines all the data types that the clsx module can accept .
It is only needed by the module itself to filter out inappropriate inputs.
export type ClassValue = ClassArray | ClassDictionary | string | number | null | boolean | undefined;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question