UNPKG

tgui-angular

Version:

🚀 Angular UI library for Telegram Web Apps with modern components and theming support | 💼 Author is open to work opportunities | 📧 Contact: a.blagovestnov@gmail.com | 💬 Telegram: @ablagovestnov

10 lines (9 loc) • 456 B
/** * Utility function to combine CSS class names with conditional logic. * Similar to the classnames library in React ecosystem. * * @param classes A list of class names, objects where keys are class names and values are booleans, * or falsy values (which will be ignored) * @returns A string of space-separated class names */ export declare function classNames(...classes: (string | Record<string, boolean> | null | undefined | false)[]): string;