-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAcceptTask.jsx
More file actions
22 lines (20 loc) · 871 Bytes
/
AcceptTask.jsx
File metadata and controls
22 lines (20 loc) · 871 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
import React from 'react'
const AcceptTask = ({data}) => {
return (
<div className='flex-shrink-0 h-full w-[300px] p-5 bg-blue-400 rounded-xl'>
<div className='flex justify-between text-sm items-center'>
<h3 className='bg-blue-600 px-3 py-1 rounded'>{data.category}</h3>
<h4 className='text-sm'>{data.date}</h4>
</div>
<h2 className='mt-5 text-2xl dont-semibold'>{data.title}</h2>
<p className='text-sm mt-2'>
{data.description}
</p>
<div className='flex justify-between mt-4'>
<button className='bg-green-500 py-1 px-2 text-sm'>Mark as completed</button>
<button className='bg-red-500 py-1 px-2 text-sm'>Mark as failed</button>
</div>
</div>
)
}
export default AcceptTask