2016-07-13 17:19:26 -03:00
|
|
|
import UnknownControl from './Widgets/UnknownControl';
|
|
|
|
import UnknownPreview from './Widgets/UnknownPreview';
|
|
|
|
import StringControl from './Widgets/StringControl';
|
|
|
|
import StringPreview from './Widgets/StringPreview';
|
|
|
|
import MarkdownControl from './Widgets/MarkdownControl';
|
|
|
|
import MarkdownPreview from './Widgets/MarkdownPreview';
|
|
|
|
import ImageControl from './Widgets/ImageControl';
|
|
|
|
import ImagePreview from './Widgets/ImagePreview';
|
2016-05-30 16:55:32 -07:00
|
|
|
|
|
|
|
|
|
|
|
const Widgets = {
|
|
|
|
_unknown: {
|
|
|
|
Control: UnknownControl,
|
|
|
|
Preview: UnknownPreview
|
|
|
|
},
|
|
|
|
string: {
|
|
|
|
Control: StringControl,
|
|
|
|
Preview: StringPreview
|
|
|
|
},
|
|
|
|
markdown: {
|
|
|
|
Control: MarkdownControl,
|
|
|
|
Preview: MarkdownPreview
|
|
|
|
},
|
|
|
|
image: {
|
|
|
|
Control: ImageControl,
|
|
|
|
Preview: ImagePreview
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
|
|
|
export default Widgets;
|