Checkbox added
This commit is contained in:
@@ -45,10 +45,10 @@ export default function CountrySettings(){
|
|||||||
<th scope="col" className="px-8">
|
<th scope="col" className="px-8">
|
||||||
Country
|
Country
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-center">
|
||||||
Status
|
Status
|
||||||
</th>
|
</th>
|
||||||
<th scope="col" className="px-2 text-right">
|
<th scope="col" className="px-2 text-center">
|
||||||
Signup
|
Signup
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
@@ -67,13 +67,25 @@ export default function CountrySettings(){
|
|||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-8">
|
<td className="px-8">
|
||||||
<div className="text-right">
|
<div className="text-center">
|
||||||
<div className="text-base font-semibold">{item?.status}</div>
|
<input
|
||||||
|
className="w-4 h-4 cursor-pointer text-primary bg-gray-100 border-gray-300 rounded-sm focus:ring-primary/80 dark:focus:ring-primary dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
||||||
|
type="checkbox"
|
||||||
|
checked={item?.status}
|
||||||
|
name="status"
|
||||||
|
id="status"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td className="px-8">
|
<td className="px-8">
|
||||||
<div className="text-right">
|
<div className="text-center">
|
||||||
<div className="text-base font-semibold">{item?.signup}</div>
|
<input
|
||||||
|
className="w-4 h-4 cursor-pointer text-primary bg-gray-100 border-gray-300 rounded-sm focus:ring-primary/80 dark:focus:ring-primary dark:ring-offset-gray-800 focus:ring-2 dark:bg-gray-700 dark:border-gray-600"
|
||||||
|
type="checkbox"
|
||||||
|
checked={item?.signup}
|
||||||
|
name="signup"
|
||||||
|
id="signup"
|
||||||
|
/>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|||||||
Reference in New Issue
Block a user