blob: 75859d9b0d5bb2ca13f6686e6fcb398faa126a80 (
plain)
1
2
3
4
5
6
7
8
9
10
|
export default function SelectField({ properties, options }) {
return(
<div className="mb-6">
<label className="block mb-2 text-lg text-gray-900 dark:text-white">{properties.label}</label>
<select id={properties.id} className="bg-gray-50 border border-gray-300 text-gray-900 text-sm rounded-lg focus:ring-blue-500 focus:border-blue-500 block w-full p-2.5 dark:bg-gray-700 dark:border-gray-600 dark:placeholder-gray-400 dark:text-white dark:focus:ring-blue-500 dark:focus:border-blue-500">
{options}
</select>
</div>
);
}
|