survey-react-ui
Version:
survey.js is a JavaScript Survey Library. It is a modern way to add a survey to your website. It uses JSON for survey metadata and results.
25 lines (24 loc) • 877 B
TypeScript
import * as React from "react";
import { Base, SurveyModel, Cover, CoverCell } from "survey-core";
import { SurveyElementBase } from "../reactquestion_element";
export interface ILayoutElementProps<T = Base> {
survey: SurveyModel;
model: T;
}
export declare class HeaderMobile extends React.Component<any, any> {
get model(): Cover;
private renderLogoImage;
render(): React.JSX.Element | null;
}
export declare class HeaderCell extends React.Component<any, any> {
get model(): CoverCell;
private renderLogoImage;
render(): React.JSX.Element | null;
}
export declare class Header extends SurveyElementBase<ILayoutElementProps<Cover>, any> {
get model(): Cover;
protected getStateElement(): Base;
renderElement(): React.JSX.Element | null;
componentDidMount(): void;
componentDidUpdate(prevProps: any, prevState: any): void;
}