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 AsyncStorage from '@react-native-community/async-storage'; | |
import { | |
setGenericPassword, | |
getGenericPassword, | |
resetGenericPassword, | |
} from 'react-native-keychain'; | |
const KeychainStorage = { | |
async getAllKeys(cb) { | |
try { |
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
[PlankTheme] | |
#The roundness of the top corners. | |
TopRoundness=4 | |
#The roundness of the bottom corners. | |
BottomRoundness=0 | |
#The thickness (in pixels) of lines drawn. | |
LineWidth=0 | |
#The color (RGBA) of the outer stroke. | |
OuterStrokeColor=72;;72;;72;;120 | |
#The starting color (RGBA) of the fill gradient. |
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 { useCallback } from 'react'; | |
import { object, ValidationError } from 'yup'; | |
const useYupValidationResolver = ( | |
validationSchema: ReturnType<typeof object> | |
) => | |
useCallback( | |
async (data) => { | |
try { | |
const values = await validationSchema.validate(data, { |