Skip to content

Instantly share code, notes, and snippets.

View KillianPiccerelle's full-sized avatar

KillianPiccerelle

View GitHub Profile
@KillianPiccerelle
KillianPiccerelle / LoginModalButton.tsx
Created June 27, 2022 14:59
here I just copy and paste the modal to see if it works. But the onClick function is not recognized I don't understand. Should I do an import linked to flowbite ? a js file or something like that ?
import { FC } from 'react';
import { useDisclosure } from './modalDisclosure/use-disclosure';
import { ActionButton } from '../ActionButton';
import { LoginComponent } from './LoginComponent';
import { useEffectOnlyOnUpdate } from '../../hooks/tools/useEffectOnlyOnUpdate';
import { useLogin } from '../../hooks/auth/useLogin';
import { useLogout } from '../../hooks/auth/useLogout';
import { setLoggingInState } from '../../store/auth';
import React from 'react';
import { Button, Modal } from 'flowbite-react';
@KillianPiccerelle
KillianPiccerelle / AgendaList.js
Created April 28, 2021 14:57
Want take value of textInput in const renderInner and send to post request onPress Button (sendEvent() function)
import React, {useEffect} from 'react';
import {
Text,
View,
StyleSheet,
FlatList,
Button,
TextInput,
} from 'react-native';
import {useDispatch} from 'react-redux';
@KillianPiccerelle
KillianPiccerelle / Error
Created March 25, 2021 10:26
AndroidManifest.xml
> Task :app:mergeDebugAssets FAILED
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.7/userguide/command_line_interface.html#sec:command_line_warnings
41 actionable tasks: 41 executed
FAILURE: Build failed with an exception.
* What went wrong: