Skip to content
This repository has been archived by the owner on Mar 7, 2024. It is now read-only.

Commit

Permalink
fix(ali): 修复 MovableArea 的类型错误
Browse files Browse the repository at this point in the history
  • Loading branch information
yesmeck committed Jul 17, 2020
1 parent 683e89d commit 65c2b92
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/remax-ali/src/hostComponents/MovableArea/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export interface MovableAreaProps {
id?: string;
className?: string;
style?: React.CSSProperties;
width: number;
height: number;
width?: number;
height?: number;
}

export const MovableArea = createHostComponent<MovableAreaProps>('movable-area');
4 changes: 2 additions & 2 deletions packages/remax-ali/src/hostComponents/MovableView/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export interface MovableViewProps {
id?: string;
className?: string;
style?: React.CSSProperties;
width: number;
height: number;
width?: number;
height?: number;
direction?: 'all' | 'vertical' | 'horizontal' | 'none';
x?: number;
y?: number;
Expand Down

1 comment on commit 65c2b92

@vercel
Copy link

@vercel vercel bot commented on 65c2b92 Jul 17, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.