Fix all comments

This commit is contained in:
2023-11-05 18:28:51 +07:00
parent b0dd3abf0e
commit 3f95ce8343
39 changed files with 483 additions and 443 deletions
@@ -4,8 +4,10 @@ import {
UseFormRegister,
useFormContext,
} from 'react-hook-form';
import { ChangeEventHandler, ReactNode } from 'react';
// Styled
import { StyledSelect } from './styled';
import React, { ReactNode } from 'react';
export interface ISelectOptions {
value: string;
@@ -15,7 +17,7 @@ interface ISelect {
options: ISelectOptions[];
optionsConfigForm?: RegisterOptions<FieldValues, string> | undefined;
value?: string;
onChange?: React.ChangeEventHandler<HTMLSelectElement> | undefined;
onChange?: ChangeEventHandler<HTMLSelectElement> | undefined;
id?: string;
ariaLabel: string;
}