Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. import React, { useState } from 'react';
  2. import { StyleSheet, View, Text, TouchableOpacity } from 'react-native';
  3. import { withTheme, DataTable } from 'react-native-paper';
  4.  
  5. function QuestionStatRow ({ dispatch, game, qValue, correct, incorrect}) {
  6. return (
  7.  
  8. <DataTable.Row>
  9. <DataTable.Cell>{qValue}</DataTable.Cell>
  10. <DataTable.Cell numeric>{correct}</DataTable.Cell>
  11. <DataTable.Cell numeric>{incorrect}</DataTable.Cell>
  12. <DataTable.Title numeric>{correct/incorrect}</DataTable.Title>
  13. </DataTable.Row>
  14.  
  15. );
  16. }
  17.  
  18. export default withTheme(QuestionStatRow);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement