Skip to content

Commit

Permalink
fix: Select types (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
desoindx authored Oct 4, 2022
1 parent bd69f9e commit b84170e
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/components/interface/Select/Select.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,15 @@ export interface SelectOptions {

export type SelectSelected = React.ReactElement<any> | string;

export interface SelectProps extends SelectWrapperProps{
export interface SelectProps{
id?: string;
message?: string;
messageType?: SelectMessageType;
options: SelectOptions[];
selected?: SelectSelected;
className?: SelectWrapperClassName;
hint?: SelectWrapperHint;
className?: string | Object | any[];
hint?: string | Object | any[];
label?: string;
message?: string;
messageType?: SelectWrapperMessageType;
required?: boolean;
onChange?: (...args: any[])=>any;
}
Expand Down

0 comments on commit b84170e

Please sign in to comment.