UNPKG

bananas-commerce-admin

Version:

What's this, an admin for apes?

20 lines (19 loc) 690 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; } export declare const CardFieldAddress: React.FC<Omit<CardFieldAddressProps, "type">>; export default CardFieldAddress;