Skip to content

Commit

Permalink
Merge pull request #253 from moyus/fix-types
Browse files Browse the repository at this point in the history
Fix component types
  • Loading branch information
malash authored Oct 23, 2024
2 parents 457d85a + 8c9c59e commit c73016f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/core/src/components/componentsTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,17 +193,17 @@ interface PickerBaseProps extends BasePropsWithChildren {

export interface PickerSelectorProps extends PickerBaseProps {
mode: 'selector';
range?: Array<any>;
range?: any[];
rangeKey?: string;
value?: number;
onChange?: (e: any) => void;
}

export interface PickerMultiSelector extends PickerBaseProps {
mode: 'multiSelector';
range?: Array<any>;
range?: any[][];
rangeKey?: string;
value?: number;
value?: number[];
onChange?: (e: any) => void;
onColumnchange?: (e: any) => void;
}
Expand Down Expand Up @@ -242,9 +242,9 @@ export type PickerProps =

export interface PickerViewProps extends BaseProps {
value?: Array<number>;
indicatorStyle?: string;
indicatorStyle?: CSSProperties;
indicatorClass?: string;
maskStyle?: string;
maskStyle?: CSSProperties;
maskClass?: string;
children?: React.ReactNode;
onChange?: (e: any) => void;
Expand Down

0 comments on commit c73016f

Please sign in to comment.