25 lines
650 B
TypeScript
25 lines
650 B
TypeScript
// Module ID: 14086
|
|
// Function ID: 14087
|
|
// Name: Checkbox
|
|
// Dependencies: [19, 17, 21, 14087, 14088, 2]
|
|
// Exports: default
|
|
|
|
// Module 14086 (Checkbox)
|
|
import noopAll from "noop" /* 19 */;
|
|
import { Image } from "get ActivityIndicator" /* 17 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
|
|
noopAll;
|
|
const result = require("set").fileFinishedImporting("design/void/Checkbox/native/Checkbox.tsx");
|
|
|
|
export default function Checkbox(style) {
|
|
const obj = { style: style.style, source: null };
|
|
if (style.selected) {
|
|
obj[1] = tmp3(14087);
|
|
let tmp5 = obj;
|
|
} else {
|
|
obj[1] = tmp3(14088);
|
|
tmp5 = obj;
|
|
}
|
|
return <Image {...tmp5} />;
|
|
};
|