UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

22 lines (21 loc) 780 B
import React from "react"; import { TextFieldProps } from "@mui/material/TextField"; import { CardFieldBaseProps } from "./shared"; export interface BillingAddress { street_address: string; street_address2: string; postal_code: string; city: string; country_code: string; region: string; care_of: string; } export interface CardFieldAddressProps extends Omit<TextFieldProps, "variant" | "size" | "helperText" | "label">, CardFieldBaseProps, React.PropsWithChildren { type: "address"; value: BillingAddress; isEditable?: boolean; isCompany?: boolean; fieldErrors?: Partial<Record<keyof BillingAddress, string>>; } export declare const CardFieldAddress: React.FC<Omit<CardFieldAddressProps, "type">>; export default CardFieldAddress;