File size: 348 Bytes
04ec17f
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
/**
 * Sanitizes an array of classnames by removing any empty strings.
 */
export function sanitizeClassNames(classNames) {
    return classNames.filter((className) => className.length > 0);
}
export const noopStorage = {
    getItem: (_key) => null,
    setItem: (_key, _value) => { },
};
export const isBrowser = typeof document !== "undefined";