@commercelayer/react-components
Version:
The Official Commerce Layer React Components
14 lines (13 loc) • 621 B
TypeScript
import { type ReactNode, type JSX } from 'react';
interface Props extends Omit<JSX.IntrinsicElements['form'], 'onSubmit'> {
children: ReactNode;
reset?: boolean;
errorClassName?: string;
/**
* Array of countries that have states has select options. Ignore this if you are not overriding the default states list.
* If you are overriding the default states list, you must pass the countries that have states as select options.
*/
countriesWithPredefinedStateOptions?: string[];
}
export declare function CustomerAddressForm(props: Props): JSX.Element;
export default CustomerAddressForm;