@thenamespace/ens-components 0.12.0 → 0.14.0
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/dist/types/components/ens-names-registrar-component/sub-components/RegistrationForm.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EnsRecords } from "@/types";
|
|
1
2
|
interface RegistrationFormProps {
|
|
2
3
|
ensName: string;
|
|
3
4
|
duration: number;
|
|
@@ -10,6 +11,7 @@ interface RegistrationFormProps {
|
|
|
10
11
|
onClose?: () => void;
|
|
11
12
|
onNext: () => void;
|
|
12
13
|
onCompleteProfile?: () => void;
|
|
14
|
+
onRecordsChange?: (records: EnsRecords) => void;
|
|
13
15
|
isLoadingPrice?: boolean;
|
|
14
16
|
priceError?: string | null;
|
|
15
17
|
nameAvailability?: {
|
|
@@ -18,5 +20,5 @@ interface RegistrationFormProps {
|
|
|
18
20
|
};
|
|
19
21
|
canProceed?: boolean;
|
|
20
22
|
}
|
|
21
|
-
export declare function RegistrationForm({ ensName, duration, registrationCost, networkFee, total, onNameChange, onDurationChange, onBack, onClose, onNext, onCompleteProfile, isLoadingPrice, priceError, nameAvailability, canProceed, }: RegistrationFormProps): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
export declare function RegistrationForm({ ensName, duration, registrationCost, networkFee, total, onNameChange, onDurationChange, onBack, onClose, onNext, onCompleteProfile, onRecordsChange, isLoadingPrice, priceError, nameAvailability, canProceed, }: RegistrationFormProps): import("react/jsx-runtime").JSX.Element;
|
|
22
24
|
export {};
|
package/dist/types/components/subname-onchain-registrar-modal/sub-components/RegistrationStep.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { EnsRecords } from "@/types";
|
|
1
2
|
export interface RegistrationStepProps {
|
|
2
3
|
name: string;
|
|
3
4
|
domainSuffix?: string;
|
|
@@ -17,10 +18,11 @@ export interface RegistrationStepProps {
|
|
|
17
18
|
onDurationChange?: (duration: number) => void;
|
|
18
19
|
onUseAsPrimaryChange?: (useAsPrimary: boolean) => void;
|
|
19
20
|
onCompleteProfile?: () => void;
|
|
21
|
+
onRecordsChange?: (records: EnsRecords) => void;
|
|
20
22
|
mintPrice?: number;
|
|
21
23
|
isFetchingPrice?: boolean;
|
|
22
24
|
expiryYears?: number;
|
|
23
25
|
isExpirable?: boolean;
|
|
24
26
|
isRegistering?: boolean;
|
|
25
27
|
}
|
|
26
|
-
export declare function RegistrationStep({ name, domainSuffix, owner, duration: initialDuration, registrationFee, networkFee, totalCost, useAsPrimary: initialUseAsPrimary, profileComplete, profileImageUrl, onBack, onCancel, onRegister, onClose, onOwnerChange, onDurationChange, onUseAsPrimaryChange, onCompleteProfile, mintPrice, isFetchingPrice, expiryYears, isExpirable, isRegistering, }: RegistrationStepProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
export declare function RegistrationStep({ name, domainSuffix, owner, duration: initialDuration, registrationFee, networkFee, totalCost, useAsPrimary: initialUseAsPrimary, profileComplete, profileImageUrl, onBack, onCancel, onRegister, onClose, onOwnerChange, onDurationChange, onUseAsPrimaryChange, onCompleteProfile, onRecordsChange, mintPrice, isFetchingPrice, expiryYears, isExpirable, isRegistering, }: RegistrationStepProps): import("react/jsx-runtime").JSX.Element;
|