UNPKG

@commercelayer/react-components

Version:
11 lines (10 loc) 464 B
import { type RefObject, type JSX } from 'react'; import type { BaseState } from '../../typings/index'; import type { DefaultChildrenType } from '../../typings/globals'; interface Props extends Omit<JSX.IntrinsicElements['form'], 'children' | 'ref'> { children: DefaultChildrenType; onSubmit?: (values: BaseState) => void; ref?: RefObject<HTMLFormElement | null>; } export declare function GiftCard(props: Props): JSX.Element; export default GiftCard;