hunk.code_window:  * @param element
    */
   export const isEllipsisActive = (element: HTMLElement | null) => {
     return (
       element &&
       (element.clientWidth < element.scrollWidth ||
         element.offsetHeight < element.scrollHeight)
     );
   };
  
hunk.labels: keep keep keep replace replace replace replace replace keep keep
hunk.after_edit:   return element && element.clientWidth < element.scrollWidth;
  
hunk.file_path: app/client/src/utils/helpers.tsx
hunk.type: replace
file: import Widget from "./widget";
  import IconSVG from "./icon.svg";
  
  export const CONFIG = {
    type: Widget.getWidgetType(),
    name: "Select",
    iconSVG: IconSVG,
    needsMeta: true,
    defaults: {
      rows: 4,
      columns: 20,
      placeholderText: "Select option",
      labelText: "",
      options: [
        { label: "Blue", value: "BLUE" },
        { label: "Green", value: "GREEN" },
        { label: "Red", value: "RED" },
      ],
      serverSideFiltering: false,
      widgetName: "Select",
      defaultOptionValue: "GREEN",
      version: 1,
      isFilterable: true,
      isRequired: false,
      isDisabled: false,
      animateLoading: true,
    },
    properties: {
      derived: Widget.getDerivedPropertiesMap(),
      default: Widget.getDefaultPropertiesMap(),
      meta: Widget.getMetaPropertiesMap(),
      config: Widget.getPropertyPaneConfig(),
    },
  };
  
  export default Widget;
  