@gearbox-protocol/ui-kit 3.14.0-next.45 → 3.14.0-next.46
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.
|
@@ -1,13 +1,17 @@
|
|
|
1
|
+
import { VariantProps } from 'class-variance-authority';
|
|
1
2
|
import { default as React } from 'react';
|
|
2
3
|
import { TokenFullData } from '../../../../../types/common';
|
|
3
|
-
|
|
4
|
+
declare const rootVariants: (props?: ({
|
|
5
|
+
position?: "none" | "primary" | "receive" | "solo" | null | undefined;
|
|
6
|
+
size?: "sm" | "md" | null | undefined;
|
|
7
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
8
|
+
export interface TransactionConfirmAmountFieldProps extends VariantProps<typeof rootVariants> {
|
|
4
9
|
readonly label: React.ReactNode;
|
|
5
10
|
readonly amount: bigint;
|
|
6
11
|
readonly token?: Omit<TokenFullData, "address">;
|
|
7
12
|
readonly usdMoney?: bigint;
|
|
8
13
|
readonly loading?: boolean;
|
|
9
|
-
readonly position: "primary" | "receive";
|
|
10
|
-
readonly size?: "sm" | "md";
|
|
11
14
|
readonly maxLength?: number;
|
|
12
15
|
}
|
|
13
16
|
export declare function TransactionConfirmAmountField({ label, amount, token, usdMoney, loading, position, size, maxLength, }: TransactionConfirmAmountFieldProps): React.ReactElement;
|
|
17
|
+
export {};
|