Skip to content

Commit

Permalink
fix(Overlay): ts add placement (#3753)
Browse files Browse the repository at this point in the history
  • Loading branch information
weinianyang authored and 潕量 committed Mar 25, 2022
1 parent 47462eb commit 504cca5
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions types/overlay/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,12 @@ export interface PopupProps extends React.HTMLAttributes<HTMLElement>, CommonPro
* 开启 v2 版本
*/
v2?: boolean;

/**
* [v2可用]
* 快捷位置
*/
placement?: string;
}

export class Popup extends React.Component<PopupProps, any> {}
Expand Down

0 comments on commit 504cca5

Please sign in to comment.