ingeniuscliq-core 0.3.26 → 0.3.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,13 +1,16 @@
1
1
  import { BaseStyleProps } from '../../../types/ui/main';
2
2
  import { Control, FieldValues, Path } from 'react-hook-form';
3
- import { CustomSelectProps } from '../select';
4
3
  interface FormSelectProps<T extends FieldValues = FieldValues> extends BaseStyleProps {
5
4
  readonly control: Control<T>;
6
5
  readonly name: Path<T>;
7
6
  readonly placeholder?: string;
8
- readonly options: CustomSelectProps['options'];
7
+ readonly options: Array<{
8
+ value: string;
9
+ label: string;
10
+ }>;
9
11
  readonly className: string;
10
- readonly selectProps?: Omit<CustomSelectProps, 'options' | 'placeholder' | 'defaultValue' | 'value' | 'onValueChange'>;
12
+ readonly selectClassName: string;
13
+ onValueChange?(value: string): void;
11
14
  }
12
- export declare function FormSelect<T extends FieldValues = FieldValues>({ control, name, placeholder, className, options, selectProps }: FormSelectProps<T>): import("react/jsx-runtime").JSX.Element;
15
+ export declare function FormSelect<T extends FieldValues = FieldValues>({ control, name, placeholder, className, options, selectClassName }: FormSelectProps<T>): import("react/jsx-runtime").JSX.Element;
13
16
  export {};