mirror of
https://github.com/youzan/vant.git
synced 2025-10-20 18:54:24 +00:00
[improvement] default props in tsx (#2789)
This commit is contained in:
@@ -3,12 +3,12 @@
|
||||
*/
|
||||
|
||||
export type SharedSwitchProps = {
|
||||
size?: string;
|
||||
size: string;
|
||||
value?: any;
|
||||
loading?: boolean;
|
||||
disabled?: boolean;
|
||||
activeValue?: any;
|
||||
inactiveValue?: any;
|
||||
activeValue: any;
|
||||
inactiveValue: any;
|
||||
activeColor?: string;
|
||||
inactiveColor?: string;
|
||||
};
|
||||
|
Reference in New Issue
Block a user