UNPKG

@nnc-digital/nnc-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.

19 lines (18 loc) 535 B
import React, { SetStateAction, Dispatch } from 'react'; import { PostcodeResultsProps } from '../../helpers/api-helpers'; export interface PostCodeAddressProviderProps { /** * What is this? */ children: React.ReactNode; } export interface PostCodeAddressContextType { postcodeValue?: { postcode: string; setPostcode: Dispatch<SetStateAction<string>>; }; resultsValue?: { results?: PostcodeResultsProps; setResults: Dispatch<SetStateAction<PostcodeResultsProps>>; }; }