27 lines
1.3 KiB
JavaScript
27 lines
1.3 KiB
JavaScript
// Module ID: 422
|
|
// Function ID: 423
|
|
// Name: __INTERNAL_VIEW_CONFIG
|
|
// Dependencies: [19, 26, 106, 65, 114]
|
|
|
|
// Module 422 (__INTERNAL_VIEW_CONFIG)
|
|
import noopAll from "noop" /* 19 */;
|
|
import renderElement from "renderElement" /* 114 */;
|
|
import weakSet from "weakSet" /* 106 */;
|
|
import setRuntimeConfigProvider from "setRuntimeConfigProvider" /* 65 */;
|
|
|
|
require = arg1;
|
|
noopAll;
|
|
let obj = { uiViewClassName: "AndroidSwitch", bubblingEventTypes: { topChange: { phasedRegistrationNames: { captured: "onChangeCapture", bubbled: "onChange" } } }, validAttributes: null };
|
|
obj = { disabled: true, enabled: true, thumbColor: require("result").colorAttribute, trackColorForFalse: require("result").colorAttribute, trackColorForTrue: require("result").colorAttribute, value: true, on: true, thumbTintColor: require("result").colorAttribute, trackTintColor: require("result").colorAttribute };
|
|
const merged = Object.assign(weakSet.ConditionallyIgnoredEventHandlers({ onChange: true }));
|
|
obj[2] = obj;
|
|
obj = {
|
|
setNativeValue(current, arg1) {
|
|
const items = [arg1];
|
|
renderElement.dispatchCommand(current, "setNativeValue", items);
|
|
}
|
|
};
|
|
|
|
export default setRuntimeConfigProvider.get("AndroidSwitch", () => obj);
|
|
export const __INTERNAL_VIEW_CONFIG = obj;
|
|
export const Commands = obj;
|