import 'rollup-plugin-inject-process-env'; import React, { FC } from "react"; import { PartnerFormFraming } from "@xapp/stentor-form-widget-channel"; export interface FormFrameProps { /** * The partner chrome to draw. Without it nothing here renders anything but * the children. */ readonly framing?: PartnerFormFraming; /** * Draw the frame and the tab. * * Off for a booking handoff step -- the partner's embed brings its own frame, * and a second one around it reads as a mistake. */ readonly framed?: boolean; readonly children?: React.ReactNode; } /** * The partner framing around one form step: the tab off the top of the card, an * optional intro block carrying the PRESET's own copy, and the framed card itself. * * The intro deliberately does not fall back to the step's title. Step titles are * progress labels sized for a stepper -- "Request", "Contact Information" -- and * rendering one here turned it into a page-sized banner over the tab that nobody * authored. A preset that wants a headline says so with `framing.introTitle`. * * Only ever rendered when a partner style preset resolved, which only happens on * the stand-alone page -- see resolveFormStyle. */ export declare const FormFrame: FC; export default FormFrame;