1 | import { createElement } from 'rax';
|
2 | import View, { custom } from 'rax-view';
|
3 | import Image from 'rax-image';
|
4 | import img from './assets/rax.png';
|
5 |
|
6 | const a = 0;
|
7 | const b = 1;
|
8 |
|
9 | export default function Index() {
|
10 | custom();
|
11 | return (
|
12 | <View>
|
13 | Hello World!
|
14 | <Image source={{ uri: img }} c={a && b} d={img ? a : b} />
|
15 | </View>
|
16 | );
|
17 | }
|