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