@nwebui/react-niagara-px
Version:
React Niagara Px View
29 lines • 917 B
JavaScript
import BarGraph from "./BarGraph";
import CanvasPane from "./CanvasPane";
import CheckBox from "./CheckBox";
import DefaultWidget from "./DefaultWidget";
import Label from "./Label";
import Line from "./Line";
import Picture from "./Picture";
import Rect from "./Rect";
import ScrollPane from "./ScrollPane";
import Slider from "./Slider";
import ToggleButton from "./ToggleButton";
const widgets = {
"bajaui:CanvasPane": CanvasPane,
"bajaui:CheckBox": CheckBox,
"bajaui:Label": Label,
"bajaui:Line": Line,
"bajaui:Picture": Picture,
"bajaui:Rect": Rect,
"bajaui:ScrollPane": ScrollPane,
"bajaui:Slider": Slider,
"bajaui:ToggleButton": ToggleButton,
"kitPx:Bargraph": BarGraph,
"kitPx:BoundLabel": Label,
};
export default widgets;
export function findWidget(type) {
return widgets[type] ?? DefaultWidget;
}
//# sourceMappingURL=index.js.map