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
<div> | |
<div class='ck-button'> | |
<label> | |
<input | |
type='radio' | |
name='size' | |
defaultChecked | |
defaultValue={product.size8} | |
/> | |
<span>size 8</span> |
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 from 'react | |
import { useForm } from './hooks' | |
export const CreateAccountForm = () => { | |
const { values, errors, bindField, isValid } = useForm({ | |
initialValues: { | |
email: '', | |
phone: '', | |
firstName: '', | |
lastName: '', |
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 clsx from 'clsx'; | |
import React, { useMemo } from 'react'; | |
type onChangeType = { | |
target: { | |
name: string; | |
value: string; | |
}; | |
}; |
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
[ | |
{ | |
"name": "Afghanistan", | |
"dial_code": "+93", | |
"code": "AF" | |
}, | |
{ | |
"name": "Aland Islands", | |
"dial_code": "+358", | |
"code": "AX" |
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, { useRef, useEffect, useState } from 'react'; | |
import { | |
ActivityIndicator, | |
StyleSheet, | |
Text, | |
TouchableOpacity, | |
TouchableWithoutFeedback, | |
View, | |
} from 'react-native'; | |
import { |