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 17, 2024
1 parent 7c072f3 commit 1197fd5
Show file tree
Hide file tree
Showing 15 changed files with 282 additions and 164 deletions.
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/ArrowBox.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 ArrowBoxSvg } from "./images/data-box.svg"

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

import Icon from "./Icon"
import { ReactComponent as Backup } from "./images/collapse-custom.svg"

export const CollapseIcon = forwardRef<SVGSVGElement>(function InnerArgoCDIcon(props, ref) {
return <Icon ref={ref} component={Backup} {...props} />
})
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} />
})
11 changes: 11 additions & 0 deletions src/KubernetesOutlined.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React, { forwardRef } from "react"

import Icon, { IconProps } from "./Icon"
import { ReactComponent as KubernetesSvg } from "./images/Kubernetes.svg"

export const KubernetesOutlinedIcon = forwardRef<
SVGSVGElement,
Omit<IconProps, "component" | "ref">
>(function InnerKubernetesIcon(props, ref) {
return <Icon ref={ref} component={KubernetesSvg} {...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} />
})
8 changes: 7 additions & 1 deletion src/SleepIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ import React, { forwardRef } from "react"
import Icon from "./Icon"
import { ReactComponent as SleepSvg } from "./images/sleep.svg"

export const SleepIcon = forwardRef<SVGSVGElement>(function InnerSleepIcon(props, ref) {
export const SleepIcon = forwardRef<
SVGSVGElement,
{
className?: string
style?: React.CSSProperties
}
>(function InnerSleepIcon(props, ref) {
return <Icon ref={ref} component={SleepSvg} {...props} />
})
3 changes: 3 additions & 0 deletions src/images/Kubernetes.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/images/collapse-custom.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions src/images/data-box.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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.
Loading

0 comments on commit 1197fd5

Please sign in to comment.