Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import React, { useState } from 'react';
- import { StyleSheet, View, Text, TouchableOpacity } from 'react-native';
- import { withTheme, DataTable } from 'react-native-paper';
- function QuestionStatRow ({ dispatch, game, qValue, correct, incorrect}) {
- return (
- <DataTable.Row>
- <DataTable.Cell>{qValue}</DataTable.Cell>
- <DataTable.Cell numeric>{correct}</DataTable.Cell>
- <DataTable.Cell numeric>{incorrect}</DataTable.Cell>
- <DataTable.Title numeric>{correct/incorrect}</DataTable.Title>
- </DataTable.Row>
- );
- }
- export default withTheme(QuestionStatRow);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement