@cc98/react-ubb-editor
Version:
A ubb editor component based on react
18 lines (17 loc) • 651 B
JavaScript
/**
* button - just a button
* extend - expand a menu after button click
* custom - custom how to render the menu
*/
export var ConfigType;
(function (ConfigType) {
ConfigType[ConfigType["Button"] = 0] = "Button";
ConfigType[ConfigType["Extend"] = 1] = "Extend";
ConfigType[ConfigType["Custom"] = 2] = "Custom";
})(ConfigType || (ConfigType = {}));
export var ExtendValueType;
(function (ExtendValueType) {
ExtendValueType[ExtendValueType["Main"] = 0] = "Main";
ExtendValueType[ExtendValueType["Sub"] = 1] = "Sub";
ExtendValueType[ExtendValueType["Content"] = 2] = "Content";
})(ExtendValueType || (ExtendValueType = {}));