hunk.code_window:   listItem: null,
     actionsResultBlock: null,
     tabs: [],
     showUserPreferences: true,
   } as any);
hunk.labels: keep keep keep add keep
hunk.after_edit:   onTabClick: (tab: ITab) => {},
  
hunk.file_path: packages/notification-center/src/store/notification-center.context.ts
hunk.type: add
file: import React, { ChangeEvent } from 'react';
  import { Switch as MantineSwitch, SwitchProps } from '@mantine/core';
  import useStyles from './Switch.styles';
  
  interface ISwitchProps {
    label?: React.ReactNode;
    checked?: boolean;
    onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
    loading?: boolean;
    disabled?: boolean;
  }
  
  /**
   * Switch component
   *
   */
  export const Switch = React.forwardRef<HTMLInputElement, ISwitchProps>(
    ({ onChange, loading = false, disabled = false, ...props }, ref) => {
      const { classes } = useStyles();
      const defaultDesign = { radius: 'xl', size: 'md', classNames: classes } as SwitchProps;
  
      return <MantineSwitch ref={ref} disabled={disabled} onChange={onChange} {...defaultDesign} {...props} />;
    }
  );
  