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": "Rolls Royce", | |
"repairUrl": "https://800sayara.com/rolls-royce-repair/", | |
"logoUrl": "https://800sayara.com/wp-content/uploads/2024/03/rolls-royce-1.png", | |
"repairImageUrl": "https://800sayara.com/wp-content/uploads/2024/10/rolls-royce-repair-1024x467.webp" | |
}, | |
{ | |
"name": "Aston Martin", | |
"repairUrl": "https://800sayara.com/aston-martin-repair/", |
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
{ | |
"id": "0YvGglKuqzIWA2JdfiJD", | |
"dateOfPurchase": { | |
"seconds": 1742036111, | |
"nanoseconds": 439000000 | |
}, | |
"createdBy": { | |
"email": "[email protected]", | |
"id": "55n5CMVgtrdwu77KeAGTTf5kWGx1", | |
"phoneNumber": "+971523619890", |
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
{ | |
"service": "batteryChange", | |
"customerName": "Nkangi jafari", | |
"phoneNumber": "+971523619890", | |
"email": "[email protected]", | |
"description": "asdas", | |
"bookedDate": "2025-03-25", | |
"bookedTime": "15:15 PM", | |
"branch": "dubai", | |
"customerType": "warrantyClaims", |
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
const NUM_OF_PAGES = 2; | |
const WAIT_BEFORE_EACH_PAGE = 6000; | |
const jsonToCsv = (jsonData) => { | |
if (jsonData.length === 0) { | |
return ''; // Return an empty string if jsonData is empty | |
} | |
const keys = Object.keys(jsonData[0]); | |
const csvRows = []; | |
csvRows.push(keys.join(",")); |
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, { useState, useEffect } from 'react'; | |
import { | |
Box, | |
CircularProgress, | |
Menu, | |
MenuItem, | |
IconButton, | |
TextField, | |
Button, | |
} from '@mui/material'; |
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 {StyleSheet} from 'react-native'; | |
import {colors} from '@theme'; | |
import { | |
widthPercentageToDP as wp, | |
heightPercentageToDP as hp, | |
} from 'react-native-responsive-screen'; | |
const styles = StyleSheet.create({ | |
header: { | |
padding: wp(3), | |
flexDirection: 'row', |
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 * as React from 'react'; | |
import { | |
View, | |
StyleSheet, | |
Text, | |
Image, | |
TouchableOpacity, | |
Modal, | |
} from 'react-native'; | |
import {connect} from 'react-redux'; |
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
<View> | |
<Text style={styles.headingContainer}>Sign up</Text> | |
{/* inputs container */} | |
<View style={styles.inputsContainer}> | |
{/* Email Container */} | |
<Text style={styles.emailTextContainer}>Email</Text> | |
<View style={[styles.inputContainer]}> | |
<TextInput | |
style={styles.authInputs} | |
value={this.state.username} |
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
/* | |
##Device = Desktops | |
##Screen = 1281px to higher resolution desktops | |
*/ | |
@media (min-width: 1281px) { | |
//CSS | |
} |
NewerOlder