Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor!: rename IconContractPosition to IconContract #963

Merged
merged 2 commits into from
Nov 11, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ import React, { ComponentProps, FC } from "react";
import { IconFileInfo as Tabler } from "@tabler/icons-react";
import { Icon } from "@/components/Icon";

export const IconContractPosition: FC<
Omit<ComponentProps<typeof Icon>, "children">
> = (props) => (
export const IconContract: FC<Omit<ComponentProps<typeof Icon>, "children">> = (
props,
) => (
<Icon {...props}>
<Tabler />
</Icon>
);

export default IconContractPosition;
export default IconContract;
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ export { IconClose } from "./IconClose";
export { IconCode } from "./IconCode";
export { IconContextMenu } from "./IconContextMenu";
export { IconContractPartner } from "./IconContractPartner";
export { IconContractPosition } from "./IconContractPosition";
export { IconContract } from "./IconContract";
export { IconCopy } from "./IconCopy";
export { IconCronjob } from "./IconCronjob";
export { IconCustomer } from "./IconCustomer";
Expand Down
2 changes: 1 addition & 1 deletion packages/components/src/components/Icon/icons.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Close: X
Code: Code
ContextMenu: Dots
ContractPartner: FileDescription
ContractPosition: FileInfo
Contract: FileInfo
Copy: Copy
Cronjob: CalendarCheck
Customer: Building
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import {
IconCamera,
IconChangelog,
IconClock,
IconContract,
IconContractPartner,
IconContractPosition,
IconCronjob,
IconCustomer,
IconDashboard,
Expand Down Expand Up @@ -129,8 +129,8 @@ import ColumnLayout from "@mittwald/flow-react-components/ColumnLayout";
<IconPayment />
</LabeledValue>
<LabeledValue>
<Label>Contract Position</Label>
<IconContractPosition />
<Label>Contract</Label>
<IconContract />
</LabeledValue>
<LabeledValue>
<Label>Camera</Label>
Expand Down