ElementProps
Props of an element component. options is required where the element
needs one: cardCheckout for hostedCard, referenceNumber for payment
and checkout.
id and class pass through to the container the element mounts into.
export type ElementProps<T extends ElementType> = object extends ElementOptionsMap[T] ? { options?: ElementOptionsMap[T];} : { options: ElementOptionsMap[T];};