project init

This commit is contained in:
limqhz
2022-11-10 17:13:00 +08:00
commit 4956ed2f1f
113 changed files with 3617 additions and 0 deletions

53
components/tab-bar/type.d.ts vendored Normal file
View File

@@ -0,0 +1,53 @@
import { BadgeProps } from '../badge/index';
export interface TdTabBarProps {
bordered?: {
type: BooleanConstructor;
value?: boolean;
};
externalClasses?: {
type: ArrayConstructor;
value?: ['t-class'];
};
fixed?: {
type: BooleanConstructor;
value?: boolean;
};
safeAreaInsetBottom?: {
type: BooleanConstructor;
value?: boolean;
};
split?: {
type: BooleanConstructor;
value?: boolean;
};
value?: {
type: null;
value?: string | number | Array<string | number>;
};
defaultValue?: {
type: null;
value?: string | number | Array<string | number>;
};
}
export interface TdTabBarItemProps {
badgeProps?: {
type: ObjectConstructor;
value?: BadgeProps;
};
icon?: {
type: StringConstructor;
value?: string;
};
subTabBar?: {
type: ArrayConstructor;
value?: SubTabBarItem[];
};
value?: {
type: null;
value?: string | number;
};
}
export interface SubTabBarItem {
value: string;
label: string;
}