discourse/app/assets/javascripts/wizard/addon/components/fields/index.js
David Taylor e4c373194d
DEV: Refactor Wizard components (#24770)
This commit refactors the Wizard component code in preparation for moving it to the 'static' directory for Embroider route-splitting. It also includes a number of general improvements and simplifications.

Extracted from https://github.com/discourse/discourse/pull/23678

Co-authored-by: Godfrey Chan <godfreykfc@gmail.com>
2023-12-07 16:33:38 +00:00

16 lines
371 B
JavaScript

import Checkbox from "./checkbox";
import Checkboxes from "./checkboxes";
import Dropdown from "./dropdown";
import Image from "./image";
import StylingPreview from "./styling-preview";
import Text from "./text";
export default {
checkbox: Checkbox,
checkboxes: Checkboxes,
"styling-preview": StylingPreview,
dropdown: Dropdown,
image: Image,
text: Text,
};