Skip to content

Commit

Permalink
fix(switch): add loading type,close(alibaba-fusion#4323)
Browse files Browse the repository at this point in the history
  • Loading branch information
Silence-dream committed Apr 23, 2023
1 parent 3a4a4c7 commit 3dccaf1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions types/switch/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,11 @@ export interface SwitchProps extends HTMLAttributesWeak, CommonProps {
* 键盘按键事件
*/
onKeyDown?: React.KeyboardEventHandler;

/**
* loading
*/
loading?: boolean;
}

export default class Switch extends React.Component<SwitchProps, any> {}

0 comments on commit 3dccaf1

Please sign in to comment.