Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 12996 | Rev 14357 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 12996 Rev 14174
Línea 1... Línea 1...
1
import React from 'react'
1
import React from 'react'
2
import axios from 'axios'
2
import axios from 'axios'
3
import { Modal, Button } from 'react-bootstrap'
3
import { Modal } from 'react-bootstrap'
4
import { useForm } from 'react-hook-form'
4
import { useForm } from 'react-hook-form'
5
import { useDispatch } from 'react-redux'
5
import { useDispatch } from 'react-redux'
6
import { addNotification } from '../redux/notification/notification.actions'
6
import { addNotification } from '../redux/notification/notification.actions'
Línea 7... Línea 7...
7
 
7
 
Línea 66... Línea 66...
66
			<form onSubmit={handleSubmit(onSubmit)}>
66
			<form onSubmit={handleSubmit(onSubmit)}>
67
				<Modal.Body>
67
				<Modal.Body>
68
					<h2>{title}</h2>
68
					<h2>{title}</h2>
69
				</Modal.Body>
69
				</Modal.Body>
70
				<Modal.Footer>
70
				<Modal.Footer>
71
					<Button
71
					<button
72
						variant="success"
72
						className='btn btn-primary'
73
						type="submit"
73
						type="submit"
74
					>
74
					>
75
75
76
					</Button>
76
					</button>
77
					<Button
77
					<button
78
						variant="danger"
78
						className='btn btn-secondary'
79
						onClick={closeModal}
79
						onClick={closeModal}
80
					>
80
					>
81
						No
81
						No
82
					</Button>
82
					</button>
83
				</Modal.Footer>
83
				</Modal.Footer>
84
			</form>
84
			</form>
85
		</Modal >
85
		</Modal >
86
	)
86
	)
87
}
87
}