Skip to content

Commit

Permalink
Merge branch 'chore/miniAnimation' into feat/0.2.29
Browse files Browse the repository at this point in the history
  • Loading branch information
1198994985 committed Sep 16, 2022
2 parents 9535a1c + e09f49c commit 2fe9947
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export const basePropAlias = {
className: 'class',
style: 'style',
hidden: 'hidden',
animation: 'animation',
};

export const hoverPropAlias = {
Expand Down
2 changes: 2 additions & 0 deletions packages/mona/src/BaseComponents.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ export interface BaseProps<T = Touch> {
className?: string;
style?: React.CSSProperties;
hidden?: boolean;
animation?: any;

// 事件
onTouchStart?: TouchEventHandler<T>;
onTouchMove?: TouchEventHandler<T>;
Expand Down

0 comments on commit 2fe9947

Please sign in to comment.