PromucFlow_constructor/app/client/src/icons/ControlIcons.tsx
albinAppsmith 629999f124
feat: [epic] appsmith design system version 2 deduplication (#22030)
## Description

### Fixes
- [x] https://github.com/appsmithorg/appsmith/issues/19383
- [x] https://github.com/appsmithorg/appsmith/issues/19384
- [x] https://github.com/appsmithorg/appsmith/issues/19385
- [x] https://github.com/appsmithorg/appsmith/issues/19386
- [x] https://github.com/appsmithorg/appsmith/issues/19387
- [x] https://github.com/appsmithorg/appsmith/issues/19388
- [x] https://github.com/appsmithorg/appsmith/issues/19389
- [x] https://github.com/appsmithorg/appsmith/issues/19390
- [x] https://github.com/appsmithorg/appsmith/issues/19391
- [x] https://github.com/appsmithorg/appsmith/issues/19392
- [x] https://github.com/appsmithorg/appsmith/issues/19393
- [x] https://github.com/appsmithorg/appsmith/issues/19394
- [x] https://github.com/appsmithorg/appsmith/issues/19395
- [x] https://github.com/appsmithorg/appsmith/issues/19396
- [x] https://github.com/appsmithorg/appsmith/issues/19397
- [x] https://github.com/appsmithorg/appsmith/issues/19398
- [x] https://github.com/appsmithorg/appsmith/issues/19399
- [x] https://github.com/appsmithorg/appsmith/issues/19400
- [x] https://github.com/appsmithorg/appsmith/issues/19401
- [x] https://github.com/appsmithorg/appsmith/issues/19402
- [x] https://github.com/appsmithorg/appsmith/issues/19403
- [x] https://github.com/appsmithorg/appsmith/issues/19404
- [x] https://github.com/appsmithorg/appsmith/issues/19405
- [x] https://github.com/appsmithorg/appsmith/issues/19406
- [x] https://github.com/appsmithorg/appsmith/issues/19407
- [x] https://github.com/appsmithorg/appsmith/issues/19408
- [x] https://github.com/appsmithorg/appsmith/issues/19409

Fixes # (issue)
> if no issue exists, please create an issue and ask the maintainers
about this first


Media
> A video or a GIF is preferred. when using Loom, don’t embed because it
looks like it’s a GIF. instead, just link to the video


## Type of change

> Please delete options that are not relevant.

- Bug fix (non-breaking change which fixes an issue)
- New feature (non-breaking change which adds functionality)
- Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- Chore (housekeeping or task changes that don't impact user perception)
- This change requires a documentation update


## How Has This Been Tested?
> Please describe the tests that you ran to verify your changes. Provide
instructions, so we can reproduce.
> Please also list any relevant details for your test configuration.
> Delete anything that is not important

- Manual
- Jest
- Cypress

### Test Plan
> Add Testsmith test cases links that relate to this PR

### Issues raised during DP testing
> Link issues raised during DP testing for better visiblity and tracking
(copy link from comments dropped on this PR)


## Checklist:
### Dev activity
- [ ] My code follows the style guidelines of this project
- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have made corresponding changes to the documentation
- [ ] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] New and existing unit tests pass locally with my changes
- [ ] PR is being merged under a feature flag


### QA activity:
- [ ] Test plan has been approved by relevant developers
- [ ] Test plan has been peer reviewed by QA
- [ ] Cypress test cases have been added and approved by either SDET or
manual QA
- [ ] Organized project review call with relevant stakeholders after
Round 1/2 of QA
- [ ] Added Test Plan Approved label after reveiwing all Cypress test

---------

Co-authored-by: Ankita Kinger <ankita@appsmith.com>
Co-authored-by: akash-codemonk <67054171+akash-codemonk@users.noreply.github.com>
Co-authored-by: Tanvi Bhakta <tanvi@appsmith.com>
Co-authored-by: Arsalan <arsalanyaldram0211@outlook.com>
Co-authored-by: Aman Agarwal <aman@appsmith.com>
Co-authored-by: Rohit Agarwal <rohit_agarwal@live.in>
Co-authored-by: Nilesh Sarupriya <nilesh@appsmith.com>
Co-authored-by: Nilesh Sarupriya <20905988+nsarupr@users.noreply.github.com>
Co-authored-by: Tanvi Bhakta <tanvibhakta@gmail.com>
Co-authored-by: Aishwarya UR <aishwarya@appsmith.com>
Co-authored-by: Parthvi Goswami <parthvigoswami@Parthvis-MacBook-Pro.local>
Co-authored-by: Vijetha-Kaja <vijetha@appsmith.com>
Co-authored-by: Parthvi <80334441+Parthvi12@users.noreply.github.com>
Co-authored-by: Apple <nandan@thinkify.io>
Co-authored-by: Saroj <43822041+sarojsarab@users.noreply.github.com>
Co-authored-by: Sangeeth Sivan <74818788+berzerkeer@users.noreply.github.com>
Co-authored-by: Ashok Kumar M <35134347+marks0351@users.noreply.github.com>
Co-authored-by: Aishwarya-U-R <91450662+Aishwarya-U-R@users.noreply.github.com>
Co-authored-by: rahulramesha <rahul@appsmith.com>
Co-authored-by: Aswath K <aswath.sana@gmail.com>
Co-authored-by: Preet Sidhu <preetsidhu.bits@gmail.com>
Co-authored-by: Vijetha-Kaja <119562824+Vijetha-Kaja@users.noreply.github.com>
Co-authored-by: Shrikant Sharat Kandula <shrikant@appsmith.com>
2023-05-20 00:07:06 +05:30

574 lines
17 KiB
TypeScript

// TODO (tanvi): Figure out why this file is still here and if it's safe to delete it.
import type { JSXElementConstructor } from "react";
import React from "react";
import { importRemixIcon, importSvg } from "design-system-old";
import type { IconProps } from "constants/IconConstants";
import { IconWrapper } from "constants/IconConstants";
import PlayIcon from "assets/icons/control/play-icon.png";
const DeleteIcon = importSvg(() => import("assets/icons/control/delete.svg"));
const MoveIcon = importSvg(() => import("assets/icons/control/move.svg"));
const EditIcon = importSvg(() => import("assets/icons/control/edit.svg"));
const ViewIcon = importSvg(() => import("assets/icons/control/view.svg"));
const MoreVerticalIcon = importSvg(
() => import("assets/icons/control/more-vertical.svg"),
);
const OverflowMenuIcon = importSvg(
() => import("assets/icons/menu/overflow-menu.svg"),
);
const JsToggleIcon = importSvg(
() => import("assets/icons/control/js-toggle.svg"),
);
const IncreaseIcon = importSvg(
() => import("assets/icons/control/increase.svg"),
);
const DecreaseIcon = importSvg(
() => import("assets/icons/control/decrease.svg"),
);
const DraggableIcon = importSvg(
() => import("assets/icons/control/draggable.svg"),
);
const CloseCircleIcon = importSvg(
() => import("assets/icons/control/close-circle.svg"),
);
const AddCircleIcon = importSvg(
() => import("assets/icons/control/add-circle.svg"),
);
const HelpIcon = importSvg(() => import("assets/icons/control/help.svg"));
const CollapseIcon = importSvg(
() => import("assets/icons/control/collapse.svg"),
);
const PickMyLocationSelectedIcon = importSvg(
() => import("assets/icons/control/pick-location-selected.svg"),
);
const RemoveIcon = importSvg(() => import("assets/icons/control/remove.svg"));
const DragIcon = importSvg(() => import("assets/icons/control/drag.svg"));
const SortIcon = importSvg(() => import("assets/icons/control/sort-icon.svg"));
const EditWhiteIcon = importSvg(
() => import("assets/icons/control/edit-white.svg"),
);
const LaunchIcon = importSvg(() => import("assets/icons/control/launch.svg"));
const BackIcon = importSvg(() => import("assets/icons/control/back.svg"));
const DeleteColumnIcon = importSvg(
() => import("assets/icons/control/delete-column.svg"),
);
const BoldFontIcon = importSvg(() => import("assets/icons/control/bold.svg"));
const UnderlineIcon = importSvg(
() => import("assets/icons/control/underline.svg"),
);
const ItalicsFontIcon = importSvg(
() => import("assets/icons/control/italics.svg"),
);
const LeftAlignIcon = importSvg(
() => import("assets/icons/control/left-align.svg"),
);
const CenterAlignIcon = importSvg(
() => import("assets/icons/control/center-align.svg"),
);
const RightAlignIcon = importSvg(
() => import("assets/icons/control/right-align.svg"),
);
const VerticalAlignRight = importSvg(
() => import("assets/icons/control/align_right.svg"),
);
const VerticalAlignLeft = importSvg(
() => import("assets/icons/control/align_left.svg"),
);
const VerticalAlignBottom = importSvg(
() => import("assets/icons/control/vertical_align_bottom.svg"),
);
const VerticalAlignCenter = importSvg(
() => import("assets/icons/control/vertical_align_center.svg"),
);
const VerticalAlignTop = importSvg(
() => import("assets/icons/control/vertical_align_top.svg"),
);
const Copy2Icon = importSvg(() => import("assets/icons/control/copy2.svg"));
const CutIcon = importSvg(() => import("assets/icons/control/cut.svg"));
const GroupIcon = importSvg(() => import("assets/icons/control/group.svg"));
const HeadingOneIcon = importSvg(
() => import("assets/icons/control/heading_1.svg"),
);
const HeadingTwoIcon = importSvg(
() => import("assets/icons/control/heading_2.svg"),
);
const HeadingThreeIcon = importSvg(
() => import("assets/icons/control/heading_3.svg"),
);
const ParagraphIcon = importSvg(
() => import("assets/icons/control/paragraph.svg"),
);
const ParagraphTwoIcon = importSvg(
() => import("assets/icons/control/paragraph_2.svg"),
);
const BulletsIcon = importSvg(() => import("assets/icons/control/bullets.svg"));
const DividerCapRightIcon = importSvg(
() => import("assets/icons/control/divider_cap_right.svg"),
);
const DividerCapLeftIcon = importSvg(
() => import("assets/icons/control/divider_cap_left.svg"),
);
const DividerCapAllIcon = importSvg(
() => import("assets/icons/control/divider_cap_all.svg"),
);
const TrendingFlat = importSvg(
() => import("assets/icons/ads/trending-flat.svg"),
);
const AlignLeftIcon = importSvg(
() => import("assets/icons/control/align_left.svg"),
);
const AlignRightIcon = importSvg(
() => import("assets/icons/control/align_right.svg"),
);
const BorderRadiusSharpIcon = importSvg(
() => import("assets/icons/control/border-radius-sharp.svg"),
);
const BorderRadiusRoundedIcon = importSvg(
() => import("assets/icons/control/border-radius-rounded.svg"),
);
const BorderRadiusCircleIcon = importSvg(
() => import("assets/icons/control/border-radius-circle.svg"),
);
const BoxShadowNoneIcon = importSvg(
() => import("assets/icons/control/box-shadow-none.svg"),
);
const BoxShadowVariant1Icon = importSvg(
() => import("assets/icons/control/box-shadow-variant1.svg"),
);
const BoxShadowVariant2Icon = importSvg(
() => import("assets/icons/control/box-shadow-variant2.svg"),
);
const BoxShadowVariant3Icon = importSvg(
() => import("assets/icons/control/box-shadow-variant3.svg"),
);
const BoxShadowVariant4Icon = importSvg(
() => import("assets/icons/control/box-shadow-variant4.svg"),
);
const BoxShadowVariant5Icon = importSvg(
() => import("assets/icons/control/box-shadow-variant5.svg"),
);
const IncreaseV2Icon = importRemixIcon(
() => import("remixicon-react/AddLineIcon"),
);
const PinIcon = importRemixIcon(
() => import("remixicon-react/Pushpin2LineIcon"),
);
const CopyIcon = importRemixIcon(
() => import("remixicon-react/FileCopyLineIcon"),
);
const QuestionIcon = importRemixIcon(
() => import("remixicon-react/QuestionLineIcon"),
);
const SettingsIcon = importRemixIcon(
() => import("remixicon-react/Settings5LineIcon"),
);
const EyeIcon = importRemixIcon(() => import("remixicon-react/EyeLineIcon"));
const EyeOffIcon = importRemixIcon(
() => import("remixicon-react/EyeOffLineIcon"),
);
const CloseIcon = importRemixIcon(
() => import("remixicon-react/CloseLineIcon"),
);
/* eslint-disable react/display-name */
export const ControlIcons: {
[id: string]: JSXElementConstructor<
IconProps & React.HTMLAttributes<HTMLDivElement>
>;
} = {
DELETE_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<DeleteIcon />
</IconWrapper>
),
MOVE_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<MoveIcon />
</IconWrapper>
),
EDIT_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<EditIcon />
</IconWrapper>
),
VIEW_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<ViewIcon />
</IconWrapper>
),
MORE_VERTICAL_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<MoreVerticalIcon />
</IconWrapper>
),
MORE_HORIZONTAL_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<OverflowMenuIcon />
</IconWrapper>
),
JS_TOGGLE: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<JsToggleIcon />
</IconWrapper>
),
INCREASE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<IncreaseIcon />
</IconWrapper>
),
DECREASE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<DecreaseIcon />
</IconWrapper>
),
DRAGGABLE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<DraggableIcon />
</IconWrapper>
),
CLOSE_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<CloseIcon />
</IconWrapper>
),
CLOSE_CIRCLE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<CloseCircleIcon />
</IconWrapper>
),
ADD_CIRCLE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<AddCircleIcon />
</IconWrapper>
),
PICK_MY_LOCATION_SELECTED_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<PickMyLocationSelectedIcon />
</IconWrapper>
),
SETTINGS_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<SettingsIcon />
</IconWrapper>
),
HELP_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<HelpIcon />
</IconWrapper>
),
PLAY_VIDEO: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<img
alt="Datasource"
src={PlayIcon}
style={{ height: "30px", width: "30px" }}
/>
</IconWrapper>
),
REMOVE_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<RemoveIcon />
</IconWrapper>
),
DRAG_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<DragIcon />
</IconWrapper>
),
COLLAPSE_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<CollapseIcon />
</IconWrapper>
),
SORT_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<SortIcon />
</IconWrapper>
),
EDIT_WHITE: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<EditWhiteIcon />
</IconWrapper>
),
LAUNCH_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<LaunchIcon />
</IconWrapper>
),
BACK_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<BackIcon />
</IconWrapper>
),
SHOW_COLUMN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<EyeIcon />
</IconWrapper>
),
HIDE_COLUMN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<EyeOffIcon />
</IconWrapper>
),
DELETE_COLUMN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<DeleteColumnIcon />
</IconWrapper>
),
BOLD_FONT: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<BoldFontIcon />
</IconWrapper>
),
UNDERLINE: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<UnderlineIcon />
</IconWrapper>
),
ITALICS_FONT: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<ItalicsFontIcon />
</IconWrapper>
),
LEFT_ALIGN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<LeftAlignIcon />
</IconWrapper>
),
CENTER_ALIGN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<CenterAlignIcon />
</IconWrapper>
),
RIGHT_ALIGN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<RightAlignIcon />
</IconWrapper>
),
VERTICAL_RIGHT: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<VerticalAlignRight />
</IconWrapper>
),
VERTICAL_LEFT: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<VerticalAlignLeft />
</IconWrapper>
),
VERTICAL_TOP: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<VerticalAlignTop />
</IconWrapper>
),
VERTICAL_CENTER: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<VerticalAlignCenter />
</IconWrapper>
),
VERTICAL_BOTTOM: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<VerticalAlignBottom />
</IconWrapper>
),
COPY_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<CopyIcon />
</IconWrapper>
),
COPY2_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<Copy2Icon />
</IconWrapper>
),
CUT_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<CutIcon />
</IconWrapper>
),
GROUP_CONTROL: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<GroupIcon />
</IconWrapper>
),
HEADING_ONE: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<HeadingOneIcon />
</IconWrapper>
),
HEADING_TWO: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<HeadingTwoIcon />
</IconWrapper>
),
HEADING_THREE: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<HeadingThreeIcon />
</IconWrapper>
),
PARAGRAPH: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<ParagraphIcon />
</IconWrapper>
),
PARAGRAPH_TWO: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<ParagraphTwoIcon />
</IconWrapper>
),
BULLETS: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<BulletsIcon />
</IconWrapper>
),
DIVIDER_CAP_RIGHT: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<DividerCapRightIcon />
</IconWrapper>
),
DIVIDER_CAP_LEFT: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<DividerCapLeftIcon />
</IconWrapper>
),
DIVIDER_CAP_ALL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<DividerCapAllIcon />
</IconWrapper>
),
BIND_DATA_CONTROL: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<TrendingFlat />
</IconWrapper>
),
ICON_ALIGN_LEFT: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<AlignLeftIcon />
</IconWrapper>
),
ICON_ALIGN_RIGHT: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<AlignRightIcon />
</IconWrapper>
),
BORDER_RADIUS_SHARP: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BorderRadiusSharpIcon />
</IconWrapper>
),
BORDER_RADIUS_ROUNDED: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BorderRadiusRoundedIcon />
</IconWrapper>
),
BORDER_RADIUS_CIRCLE: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BorderRadiusCircleIcon />
</IconWrapper>
),
BOX_SHADOW_NONE: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowNoneIcon />
</IconWrapper>
),
BOX_SHADOW_VARIANT1: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowVariant1Icon />
</IconWrapper>
),
BOX_SHADOW_VARIANT2: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowVariant2Icon />
</IconWrapper>
),
BOX_SHADOW_VARIANT3: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowVariant3Icon />
</IconWrapper>
),
BOX_SHADOW_VARIANT4: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowVariant4Icon />
</IconWrapper>
),
BOX_SHADOW_VARIANT5: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<BoxShadowVariant5Icon />
</IconWrapper>
),
INCREASE_CONTROL_V2: (
props: IconProps & React.HTMLAttributes<HTMLDivElement>,
) => (
<IconWrapper {...props}>
<IncreaseV2Icon />
</IconWrapper>
),
QUESTION: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<QuestionIcon />
</IconWrapper>
),
PIN: (props: IconProps & React.HTMLAttributes<HTMLDivElement>) => (
<IconWrapper {...props}>
<PinIcon />
</IconWrapper>
),
};
export type ControlIconName = keyof typeof ControlIcons;