hunk.code_window: package com.appsmith.server.repositories;
   import com.appsmith.server.acl.AclPermission;
   import com.appsmith.server.domains.Organization;
   import reactor.core.publisher.Flux;
   import reactor.core.publisher.Mono;
   import java.util.Set;
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit: import org.springframework.data.domain.Sort;
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/repositories/CustomOrganizationRepository.java
hunk.type: add
file: import React from "react";
  import { Icon, Intent } from "@blueprintjs/core";
  import { IconName } from "@blueprintjs/icons";
  import { noop } from "utils/AppsmithUtils";
  export type IconType = IconName | string;
  
  class IconComponent extends React.Component<IconComponentProps> {
    render() {
      return (
        <Icon
          style={{
            cursor:
              this.props.onClick && !this.props.disabled ? "pointer" : "auto",
          }}
          icon={this.props.iconName as IconName}
          iconSize={this.props.iconSize}
          intent={this.props.intent}
          onClick={this.props.disabled ? noop : this.props.onClick}
          color={this.props.color}
        />
      );
    }
  }
  
  export interface IconComponentProps {
    iconSize?: number;
    iconName?: IconType;
    intent?: Intent;
    disabled?: boolean;
    onClick?: () => void;
    color: string;
  }
  
  export default IconComponent;
  