@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.
@@ -0,0 +1,2 @@
1
+ import Root from './root';
2
+ export default Root;
@@ -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;
@@ -11,6 +11,7 @@ export interface IProps {
11
11
  cancelDisabled?: boolean;
12
12
  disabled?: boolean;
13
13
  loading?: boolean;
14
+ mountNode?: HTMLElement | null;
14
15
  }
15
16
  declare const XConfirmModal: React.FC<IProps>;
16
17
  export default XConfirmModal;