/// interface Props { /** * A function that will run after the input has changed, it will return the value of the input for you to use in the parent component. */ callback: (i: number) => number; /** * If true, will show an (optional) tag next to the title. If false or not supplied, nothing will show. */ optional: boolean; /** * Id for the radios */ id: string; /** * An array of items to display on each button => [title, value, active, showRadio] */ options: { title: string; value: string; active: boolean; showRadio: boolean; sr: string; }[]; /** * If true, will show an * next to the title. If false or not supplied, nothing will show. */ required: boolean; /** * Classes to be added to the wrapping label. */ theme: string; /** * The label text title of the input. */ title: string; } declare const ButtonGroup: ({ callback, id, optional, options, required, theme, title }: Props) => JSX.Element; export default ButtonGroup;