-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDateTime.tsx
35 lines (32 loc) · 1.28 KB
/
DateTime.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
import React from 'react'
interface Props {
title: string;
locationContent: string
dateContent: string;
timeContent: string;
}
const DateTime = (props: Props) => {
return (
<div className='bg-white rounded-lg shadow-md p-5'>
<div className='flex items-center'>
<input type="radio" placeholder='none' className='mr-3' />
<h4 className='text-xl'>{props.title}</h4>
</div>
<div className='flex justify-between pt-6'>
<div className='border-r border-secondary-200'>
<h4 className='mr-4 text-lg'>Locations</h4>
<p className='mr-4 mt-2 text-sm font-medium text-secondary-400'>{props.locationContent}</p>
</div>
<div className='border-r border-secondary-200'>
<h4 className='mr-4 text-lg'>Date</h4>
<p className='mr-4 mt-2 text-sm font-medium text-secondary-400'>{props.dateContent}</p>
</div>
<div className=''>
<h4 className='text-lg'>Time</h4>
<p className='mr-4 mt-2 text-sm font-medium text-secondary-400'>{props.timeContent}</p>
</div>
</div>
</div>
)
}
export default DateTime