@team_yumi/ramen 0.3.3-next.20231114-689226b-ebc0f128faaa04d4dce2be33f6118449 → 0.4.0-next.20231114-7a39995-ba44c6e58b36a851121609c1a68edff5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/mobile/xcard-approve/index.d.ts +2 -0
- package/components/mobile/xcard-approve/root.d.ts +34 -0
- package/components/web/xconfirm-modal/root.d.ts +1 -0
- package/index.js +1 -1
- package/index.mobile.d.ts +1 -0
- package/models/Collections/ICardApproveBorder.d.ts +1 -0
- package/models/Collections/index.d.ts +2 -1
- package/package.json +1 -1
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Collections } from '@yumi/models';
|
|
3
|
+
export interface IProps {
|
|
4
|
+
title?: {
|
|
5
|
+
text: string;
|
|
6
|
+
icon?: (typeof Collections.IIcon)[number];
|
|
7
|
+
color?: (typeof Collections.ITagColor)[number];
|
|
8
|
+
};
|
|
9
|
+
border?: (typeof Collections.ICardApproveBorder)[number];
|
|
10
|
+
subtitle?: string;
|
|
11
|
+
value: string;
|
|
12
|
+
header: string[];
|
|
13
|
+
infoRow: Array<{
|
|
14
|
+
label: string;
|
|
15
|
+
value: string | number;
|
|
16
|
+
}>;
|
|
17
|
+
buttons?: Array<{
|
|
18
|
+
type: (typeof Collections.IType)[number];
|
|
19
|
+
icon: (typeof Collections.IIcon)[number];
|
|
20
|
+
onClick: React.MouseEventHandler<HTMLButtonElement>;
|
|
21
|
+
disabled?: boolean;
|
|
22
|
+
}>;
|
|
23
|
+
goToDetail?: {
|
|
24
|
+
onClick: () => void;
|
|
25
|
+
title: string;
|
|
26
|
+
};
|
|
27
|
+
checkbox?: {
|
|
28
|
+
show?: boolean;
|
|
29
|
+
hasSelected?: boolean;
|
|
30
|
+
onClickCheckBox?: () => void;
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
declare const XCardApprove: React.FC<IProps>;
|
|
34
|
+
export default XCardApprove;
|