Skip to content

Commit

Permalink
chore
Browse files Browse the repository at this point in the history
  • Loading branch information
k70suK3-k06a7ash1 committed Feb 24, 2025
1 parent 9f02d7b commit e68e24e
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion src/styles/IncludeIconButton/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Composition } from "@/types";
import type { Composition } from "@/types";
export const IncludeIconButton = ({ children }: Composition): JSX.Element => (
<div className="border-3 border-[#424040] border-solid rounded-md py-1 px-2 hover:invert">
{children}
Expand Down
4 changes: 2 additions & 2 deletions src/types/common/Composition.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ReactNode } from "react";
import type { ReactNode } from "react";

export type Composition = {
children: ReactNode;
children: ReactNode;
};
2 changes: 1 addition & 1 deletion src/types/figurative/LanguageType.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
import { languageAndReadmeMap } from "@/constants/languageAndReadmeMap";
import type { languageAndReadmeMap } from "@/constants/languageAndReadmeMap";
type LanguageKeyType = typeof languageAndReadmeMap;
export type LanguageKey = keyof LanguageKeyType;
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { ReactNode } from "react";
export type { LanguageKey } from "./figurative/LanguageType";
export type { PositionType } from "./figurative/PositionType";
export type { CONTENT_ACTION } from "./reducer/CONTENT_ACTION";

export type Composition = { children?: ReactNode };
export type SeparateLevelType = "h1" | "h2" | "h3";

Expand Down
16 changes: 8 additions & 8 deletions src/types/reducer/CONTENT_ACTION.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { LanguageKey } from "../figurative/LanguageType";
import type { LanguageKey } from "../figurative/LanguageType";
export type CONTENT_ACTION = {
type:
| "set_state"
| "add_state"
| "change_template_language"
| "initialize_state";
payload?: string;
languageKey?: LanguageKey;
type:
| "set_state"
| "add_state"
| "change_template_language"
| "initialize_state";
payload?: string;
languageKey?: LanguageKey;
};

0 comments on commit e68e24e

Please sign in to comment.