@duffel/components
Version:
Component library to build your travel product with Duffel.
15 lines (14 loc) • 539 B
TypeScript
import { StaysRoomRateCardProps } from "./StaysRoomRateCard";
declare const CUSTOM_ELEMENT_TAG = "duffel-stays-room-rate-card";
type CustomElementRenderArguments = StaysRoomRateCardProps & {
elementId: string;
};
declare global {
namespace JSX {
interface IntrinsicElements {
[CUSTOM_ELEMENT_TAG]: React.DetailedHTMLProps<React.HTMLAttributes<HTMLElement>, HTMLElement>;
}
}
}
export declare function renderDuffelStaysRoomRateCardCustomElement(props: CustomElementRenderArguments): void;
export {};