mirror of
https://github.com/youzan/vant.git
synced 2025-12-24 02:02:09 +08:00
[improvement] default props in tsx (#2789)
This commit is contained in:
@@ -8,9 +8,9 @@ import { CreateElement, RenderContext } from 'vue/types';
|
||||
import { DefaultSlots } from '../utils/use/sfc';
|
||||
|
||||
export type ButtonProps = RouteProps & {
|
||||
tag?: string;
|
||||
type?: string;
|
||||
size?: string;
|
||||
tag: string;
|
||||
type: string;
|
||||
size: string;
|
||||
text?: string;
|
||||
block?: boolean;
|
||||
plain?: boolean;
|
||||
|
||||
Reference in New Issue
Block a user