flowbite-react
Version:
Official React components built for Flowbite and Tailwind CSS
9 lines (8 loc) • 348 B
TypeScript
/**
* Applies a prefix to class names.
*
* @param classNames - A string containing one or more CSS class names separated by spaces
* @param prefix - The prefix to be added to each class name
* @returns A new string with the prefix applied to each class name
*/
export declare function applyPrefix(classNames: string, prefix: string): string;