This code how to replace the traditional radio-buttons, for custom images. You can do the same with checkboxes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react'; | |
import { | |
Text, | |
View, | |
TouchableOpacity, | |
ActivityIndicator, | |
Navigator | |
} from 'react-native'; | |
import {GoogleSignin} from 'react-native-google-signin'; | |
import Firestack from 'react-native-firestack' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
%builtins output | |
from starkware.cairo.common.serialize import serialize_word | |
from starkware.cairo.common.alloc import alloc | |
func print_words{output_ptr : felt*}(res_len : felt, res : felt*): | |
if res_len == 0: | |
return () | |
end |