import React from 'react'; interface CheckboxSettingProps { label: string; // The label to display checked: boolean; // The checked state of the checkbox setChecked: (value: boolean) => void; // Method to update the state } const CheckboxSetting: React.FC = ({ label, checked, setChecked }) => { const handleCheckboxChange = () => { setChecked(!checked); }; return (
); }; export default CheckboxSetting;