Skip to content

Commit

Permalink
[skip ci] repo-sync
Browse files Browse the repository at this point in the history
  • Loading branch information
loft-bot committed Dec 19, 2024
1 parent 7c072f3 commit 2e7c8c3
Show file tree
Hide file tree
Showing 7 changed files with 89 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
node_modules
.DS_Store
lib
yarn-error.log
14 changes: 14 additions & 0 deletions src/DragAreaIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React, { forwardRef } from "react"

import Icon from "./Icon"
import { ReactComponent as DragArea } from "./images/drag-area.svg"

export const DragAreaIcon = forwardRef<
SVGSVGElement,
{
className?: string
style?: React.CSSProperties
}
>(function InnerDragAreaIcon(props, ref) {
return <Icon ref={ref} component={DragArea} {...props} />
})
14 changes: 14 additions & 0 deletions src/RegexIcon.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React, { forwardRef } from "react"

import Icon from "./Icon"
import { ReactComponent as Expand } from "./images/regex.svg"

export const RegexIcon = forwardRef<
SVGSVGElement,
{
className?: string
style?: React.CSSProperties
}
>(function InnerRegexIcon(props, ref) {
return <Icon ref={ref} component={Expand} {...props} />
})
3 changes: 3 additions & 0 deletions src/images/drag-area.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions src/images/regex.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 22 additions & 0 deletions src/images/vcluster-platform-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
30 changes: 30 additions & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,36 @@ export { EditPencilIcon } from "./EditPencil"
export { VClusterRocketIcon } from "./VClusterRocket"
export * from "./ExternallyDeployedIcons"
export { ExpandIcon } from "./ExpandIcon"
export { RegexIcon } from "./RegexIcon"
export { DragAreaIcon } from "./DragAreaIcon"

export const AlignLeftOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/AlignLeftOutlined"))
)
export const CheckSquareOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/CheckSquareOutlined"))
)

export const FontSizeOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/FontSizeOutlined"))
)

export const FieldBinaryOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/FieldBinaryOutlined"))
)

export const LeftOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/LeftOutlined"))
)

export const BarsOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/BarsOutlined"))
)

export const ColumnWidthOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/ColumnWidthOutlined"))
)

export const RightOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/RightOutlined"))
)
Expand Down Expand Up @@ -168,6 +194,10 @@ export const UserOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/UserOutlined"))
)

export const CalendarOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/CalendarOutlined"))
)

export const AppstoreAddOutlined = createLazyIconComponent(
lazy(() => import("@ant-design/icons/AppstoreAddOutlined"))
)
Expand Down

0 comments on commit 2e7c8c3

Please sign in to comment.