automaker / apps /ui /node_modules /react-resizable-panels /dist /declarations /src /PanelGroup.d.ts
Download apps/ui/node_modules/react-resizable-panels/dist/declarations/src/PanelGroup.d.ts from Leon4gr45/automaker: direct link, hf CLI and curl.
- Browser
- Download file 1.49 kB
-
https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/apps/ui/node_modules/react-resizable-panels/dist/declarations/src/PanelGroup.d.ts
- Command line
-
hf download hf://spaces/Leon4gr45/automaker/apps/ui/node_modules/react-resizable-panels/dist/declarations/src/PanelGroup.d.ts
-
curl -L -o PanelGroup.d.ts https://huggingface.co/spaces/Leon4gr45/automaker/resolve/main/apps/ui/node_modules/react-resizable-panels/dist/declarations/src/PanelGroup.d.ts
1.49 kB
| import { CSSProperties, HTMLAttributes, PropsWithChildren } from "react"; | |
| import { Direction } from "./types.js"; | |
| export type ImperativePanelGroupHandle = { | |
| getId: () => string; | |
| getLayout: () => number[]; | |
| setLayout: (layout: number[]) => void; | |
| }; | |
| export type PanelGroupStorage = { | |
| getItem(name: string): string | null; | |
| setItem(name: string, value: string): void; | |
| }; | |
| export type PanelGroupOnLayout = (layout: number[]) => void; | |
| export type PanelGroupProps = Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & PropsWithChildren<{ | |
| autoSaveId?: string | null; | |
| className?: string; | |
| direction: Direction; | |
| id?: string | null; | |
| keyboardResizeBy?: number | null; | |
| onLayout?: PanelGroupOnLayout | null; | |
| storage?: PanelGroupStorage; | |
| style?: CSSProperties; | |
| tagName?: keyof HTMLElementTagNameMap; | |
| dir?: "auto" | "ltr" | "rtl" | undefined; | |
| }>; | |
| export declare const PanelGroup: import("react").ForwardRefExoticComponent<Omit<HTMLAttributes<keyof HTMLElementTagNameMap>, "id"> & { | |
| autoSaveId?: string | null; | |
| className?: string; | |
| direction: Direction; | |
| id?: string | null; | |
| keyboardResizeBy?: number | null; | |
| onLayout?: PanelGroupOnLayout | null; | |
| storage?: PanelGroupStorage; | |
| style?: CSSProperties; | |
| tagName?: keyof HTMLElementTagNameMap; | |
| dir?: "auto" | "ltr" | "rtl" | undefined; | |
| } & { | |
| children?: import("react").ReactNode | undefined; | |
| } & import("react").RefAttributes<ImperativePanelGroupHandle>>; | |