Skip to content

Commit

Permalink
Docs: Rename of files
Browse files Browse the repository at this point in the history
  • Loading branch information
FAUSTMANNSTEF committed Dec 3, 2024
1 parent 342fdff commit c672e7a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/components/Buttons/IconButton/myIconButton.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Meta, StoryObj } from "@storybook/react";
import { fn } from "@storybook/test";
import IconButton from "./iconbutton";
import IconButton from "./myIconButton";
import Share from "@mui/icons-material/Share";
import { Icon } from "@mui/material";
import CloudDownload from "@mui/icons-material/CloudDownload";
Expand Down
7 changes: 3 additions & 4 deletions src/components/Buttons/IconButton/myIconButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ interface IconButtonProps
/**
* IconButton component props
*/
export default function MyIconButton(props: Readonly<IconButtonProps>) {
export default function myIconButton(props: Readonly<IconButtonProps>) {
const {
gap,
size,
Expand Down Expand Up @@ -72,6 +72,7 @@ export default function MyIconButton(props: Readonly<IconButtonProps>) {
aria-label={props.ariaLabel}
style={{ textAlign: textAlign }}
data-cy={props.datacy}
children={props.children}
sx={{
display: "flex",
outline: "none",
Expand All @@ -92,8 +93,6 @@ export default function MyIconButton(props: Readonly<IconButtonProps>) {
cursor: "pointer",
},
}}
>
{children}
</IconButton>
></IconButton>
);
}
2 changes: 1 addition & 1 deletion src/components/Menu/MuiMenu/mydropdown.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react";
import type { Meta, StoryObj } from "@storybook/react";
import MyDropdown from "./mydropdown";
import MyDropdown from "./myDropdown";
import { colors } from "../../../theme";
import IconButton from "@mui/material/IconButton";
import MenuRounded from "@mui/icons-material/MenuRounded";
Expand Down
2 changes: 1 addition & 1 deletion src/components/Menu/MuiMenu/mydropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ interface DropdownProps extends MuiMenuProps {
};
}

export default function myDropdown(props: Readonly<DropdownProps>) {
export default function MyDropdown(props: Readonly<DropdownProps>) {
const {
id,
anchorElement,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tables/MuiTables/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as MyTable } from "./tables";
export { default as MyTable } from "./myTable";
2 changes: 1 addition & 1 deletion src/components/Tables/MuiTables/myTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ interface TableProps
}

// Table component
export default function myTable({
export default function MyTable({
data,
headers,
rowHeight = 50,
Expand Down
2 changes: 1 addition & 1 deletion src/components/Tables/TabulatorTables/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as TabulatorTable } from "./tabulatorTables";
export { default as TabulatorTable } from "./myTabulatorTable";
2 changes: 1 addition & 1 deletion src/components/menu/MuiMenu/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export { default as MyDropdown } from "./mydropdown";
export { default as MyDropdown } from "./myDropdown";

0 comments on commit c672e7a

Please sign in to comment.