1
0
mirror of https://github.com/flarum/core.git synced 2025-08-08 09:26:34 +02:00

chore: extract buildSettingComponent method into a FormGroup component (#3927)

* chore: extract `buildSettingComponent` method into a `FormGroup` component

* chore: typings

* feat: move to common
This commit is contained in:
Sami Mazouz
2024-04-06 14:52:13 +01:00
committed by GitHub
parent e771b908d5
commit bf523b2325
9 changed files with 274 additions and 228 deletions

View File

@@ -1,6 +1,6 @@
import app from 'flarum/admin/app';
import ItemList from 'flarum/common/utils/ItemList';
import generateElementId from 'flarum/admin/utils/generateElementId';
import generateElementId from 'flarum/common/utils/generateElementId';
import FormModal, { IFormModalAttrs } from 'flarum/common/components/FormModal';
import Mithril from 'mithril';