Some checks failed
Telegram Mini App Shop Builder / Compute version metadata (push) Has been cancelled
Telegram Mini App Shop Builder / Run Frontend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run Backend tests (push) Has been cancelled
Telegram Mini App Shop Builder / Run PHP_CodeSniffer (push) Has been cancelled
Telegram Mini App Shop Builder / Build module. (push) Has been cancelled
Telegram Mini App Shop Builder / release (push) Has been cancelled
25 lines
506 B
JavaScript
25 lines
506 B
JavaScript
import {ru} from '@formkit/i18n';
|
|
import * as allIcons from '@formkit/icons';
|
|
import {rootClasses} from './formkit.theme.mjs';
|
|
|
|
// Собираем все иконки в плоский объект
|
|
const icons = {};
|
|
Object.values(allIcons).forEach(group => {
|
|
if (typeof group === 'object') {
|
|
Object.assign(icons, group);
|
|
}
|
|
});
|
|
|
|
const config = {
|
|
locales: {ru},
|
|
locale: 'ru',
|
|
icons: {
|
|
...icons,
|
|
},
|
|
config: {
|
|
rootClasses,
|
|
},
|
|
};
|
|
|
|
export default config;
|