Skip to content

Commit

Permalink
chore: prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
psychedelicious committed Dec 30, 2023
1 parent 5fe1e84 commit c59e150
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 4 additions & 1 deletion packages/react-resizable-panels/src/Panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ export type ImperativePanelHandle = {
resize: (size: number) => void;
};

export type PanelProps = Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id" | "onResize"> &
export type PanelProps = Omit<
HTMLAttributes<keyof HTMLElementTagNameMap>,
"id" | "onResize"
> &
PropsWithChildren<{
className?: string;
collapsedSize?: number | undefined;
Expand Down
5 changes: 4 additions & 1 deletion packages/react-resizable-panels/src/PanelGroup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ const defaultStorage: PanelGroupStorage = {
},
};

export type PanelGroupProps = Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> &
export type PanelGroupProps = Omit<
HTMLAttributes<keyof HTMLElementTagNameMap>,
"id"
> &
PropsWithChildren<{
autoSaveId?: string | null;
className?: string;
Expand Down
5 changes: 4 additions & 1 deletion packages/react-resizable-panels/src/PanelResizeHandle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,10 @@ import { getCursorStyle } from "./utils/cursor";

export type PanelResizeHandleOnDragging = (isDragging: boolean) => void;

export type PanelResizeHandleProps = Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> &
export type PanelResizeHandleProps = Omit<
HTMLAttributes<keyof HTMLElementTagNameMap>,
"id"
> &
PropsWithChildren<{
className?: string;
disabled?: boolean;
Expand Down

0 comments on commit c59e150

Please sign in to comment.