Skip to content

Commit

Permalink
Merge pull request #250 from moyus/support-picker-view-column
Browse files Browse the repository at this point in the history
support picker-view-column component
  • Loading branch information
malash authored Oct 22, 2024
2 parents 83775b8 + 33898fe commit ec4963f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/core/src/components/componentsTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -246,11 +246,16 @@ export interface PickerViewProps extends BaseProps {
indicatorClass?: string;
maskStyle?: string;
maskClass?: string;
children?: React.ReactNode;
onChange?: (e: any) => void;
onPickstart?: (e: any) => void;
onPickend?: (e: any) => void;
}

export interface PickerViewColumnProps extends BaseProps {
children?: React.ReactNode;
}

type ImageMode =
| 'scaleToFill'
| 'aspectFit'
Expand Down Expand Up @@ -873,6 +878,7 @@ export interface BuildInComponentsProps {
label: LabelProps;
picker: PickerProps;
'picker-view': PickerViewProps;
'picker-view-column': PickerViewColumnProps;
'radio-group': RadioGroupProps;
radio: RadioProps;
slider: SliderProps;
Expand Down
1 change: 1 addition & 0 deletions packages/core/src/components/factoryComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export const Input = factoryComponent('input');
export const Label = factoryComponent('label');
export const Picker = factoryComponent('picker');
export const PickerView = factoryComponent('picker-view');
export const PickerViewColumn = factoryComponent('picker-view-column');
export const RadioGroup = factoryComponent('radio-group');
export const Radio = factoryComponent('radio');
export const Slider = factoryComponent('slider');
Expand Down

0 comments on commit ec4963f

Please sign in to comment.