40 lines
1023 B
JavaScript
40 lines
1023 B
JavaScript
// Metro module 422 (f423).
|
|
import { colorAttribute } from "./Module26";
|
|
import { ConditionallyIgnoredEventHandlers } from "./Module106";
|
|
import { get } from "./Module65";
|
|
import { dispatchCommand } from "./Module114";
|
|
let c437_2 = {
|
|
uiViewClassName: "AndroidSwitch",
|
|
bubblingEventTypes: {
|
|
topChange: {
|
|
phasedRegistrationNames: {
|
|
captured: "onChangeCapture",
|
|
bubbled: "onChange"
|
|
}
|
|
}
|
|
},
|
|
validAttributes: {
|
|
disabled: true,
|
|
enabled: true,
|
|
thumbColor: colorAttribute,
|
|
trackColorForFalse: colorAttribute,
|
|
trackColorForTrue: colorAttribute,
|
|
value: true,
|
|
on: true,
|
|
thumbTintColor: colorAttribute,
|
|
trackTintColor: colorAttribute,
|
|
...ConditionallyIgnoredEventHandlers({
|
|
onChange: true
|
|
})
|
|
}
|
|
};
|
|
const r47 = get("AndroidSwitch", () => c437_2);
|
|
const r49 = {
|
|
setNativeValue: (a0, a1) => {
|
|
dispatchCommand(a0, "setNativeValue", [a1]);
|
|
}
|
|
};
|
|
export default r47;
|
|
export { c437_2 as __INTERNAL_VIEW_CONFIG };
|
|
export { r49 as Commands };
|