Changement nom component BBB
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
finition page lobby soloperistanceBDD
parent
3ab38b1d30
commit
1c30bdffb5
@ -0,0 +1,22 @@
|
||||
import { FC } from "react"
|
||||
import { Pressable, Text } from "react-native"
|
||||
import React from "react"
|
||||
/*
|
||||
Importing the corresponding stylesheet
|
||||
*/
|
||||
import styles from "./style/BigBlueButton.style"
|
||||
|
||||
export const BigBlueButton:
|
||||
/* Parameters:
|
||||
* onPress : function that must be called when the button has been clicked
|
||||
* title : optional text that would be in the button
|
||||
*/
|
||||
FC<{ onPress: any; title?: any | undefined; }>
|
||||
=
|
||||
({ onPress, title }) => {
|
||||
return (
|
||||
<Pressable style={styles.button} onPress={onPress}>
|
||||
<Text style={styles.text}>{title}</Text>
|
||||
</Pressable>
|
||||
);
|
||||
}
|
@ -1,23 +0,0 @@
|
||||
import { FC } from "react"
|
||||
import { Pressable, Text} from "react-native"
|
||||
import React from "react"
|
||||
/*
|
||||
Importing the corresponding stylesheet
|
||||
*/
|
||||
import styles from "./style/ButtonGameTypeChoice.style"
|
||||
|
||||
export const ButtonGameTypeChoice:
|
||||
/* Parameters:
|
||||
* onPress : function that must be called when the button has been clicked
|
||||
* title : optional text that would be in the button
|
||||
*/
|
||||
FC<{ onPress: any; title?: any | undefined; }>
|
||||
=
|
||||
({onPress,title}) =>
|
||||
{
|
||||
return (
|
||||
<Pressable style={styles.button} onPress={onPress}>
|
||||
<Text style={styles.text}>{title}</Text>
|
||||
</Pressable>
|
||||
);
|
||||
}
|
Loading…
Reference in new issue