import * as React from "react"; import { StyleProp, ViewStyle } from "react-native"; import { BouncyCheckboxProps } from "react-native-bouncy-checkbox"; export interface CheckboxButton extends Omit { id: string | number; } interface BouncyCheckboxGroupProps { style?: StyleProp; initial?: number | number[] | string | string[]; data: CheckboxButton[]; onChange: (selectedItem: CheckboxButton | CheckboxButton[]) => void; checkboxProps?: BouncyCheckboxProps; /** * Allow multiple checkboxes to be selected simultaneously * @default false */ multiple?: boolean; /** * Ensures one checkbox is always selected (works only in single select mode) * If trying to unselect the only selected item, it will remain selected * @default false */ alwaysSelect?: boolean; /** * Custom animation duration for bounce effect * @default 300 */ animationDuration?: number; /** * Custom spacing between checkboxes * @default 0 */ spacing?: number; /** * Custom container style for each checkbox */ itemContainerStyle?: StyleProp; } declare const BouncyCheckboxGroup: React.FC; export default BouncyCheckboxGroup;