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.
21 lines (20 loc) • 610 B
TypeScript
import { BudgetSliderProps } from '../../components/BudgetSlider/BudgetSlider.types';
export interface BudgetGameProps {
/**
* The total budget percentage allowed, e.g. 85
*/
totalAllowed: number;
/**
* An array of Budget Slider props
*/
budgetServices: BudgetSliderProps[];
/**
* Optional function that is triggered when results are submitted
* For example, trigger a custom event in Google Analytics
*/
onSubmitResults?: () => void;
/**
* Optional function that is triggered when try again is pressed
*/
onTryAgain?: () => void;
}