mirror of
https://git.v0id.ovh/n3wt-innov/n3wt-school.git
synced 2026-01-29 07:53:23 +00:00
chore: application prettier
This commit is contained in:
@ -1,10 +1,17 @@
|
||||
import React from 'react';
|
||||
|
||||
const RadioList = ({ items, formData, handleChange, fieldName, icon: Icon, className }) => {
|
||||
const RadioList = ({
|
||||
items,
|
||||
formData,
|
||||
handleChange,
|
||||
fieldName,
|
||||
icon: Icon,
|
||||
className,
|
||||
}) => {
|
||||
return (
|
||||
<div className={`mb-4 ${className}`}>
|
||||
<div className="grid grid-cols-1 gap-4">
|
||||
{items.map(item => (
|
||||
{items.map((item) => (
|
||||
<div key={item.id} className="flex items-center">
|
||||
<input
|
||||
key={`${item.id}-${Math.random()}`}
|
||||
|
||||
Reference in New Issue
Block a user