northants-design-system
Version:
Design system for West & North Northamptonshire Councils, two unitary councils encompassing Wellingborough, Corby, Daventry, East Northants, Kettering, Northampton, Northamptonshire County and South Northants.
23 lines (22 loc) • 725 B
TypeScript
import React from 'react';
import { RateThisPageProps } from './RateThisPage.types';
declare enum HelpfulEnum {
yes = "Yes",
no = "No"
}
export interface RateFormInputs {
HowCanWeImprove: string;
Email: string;
HowEasyToFind: string;
HowEasyToUnderstand: string;
IsHelpful: HelpfulEnum;
BarriersOrIssues: string;
ReCaptcha: string;
}
/**
* A form that allows visitors to rate the website page.
* If the user answers No to 'Is this information helpful?' then they are presented with more questions.
* The form is protected by Google recaptcha and needs a recaptcha sitekey to work.
*/
declare const RateThisPage: React.FunctionComponent<RateThisPageProps>;
export default RateThisPage;