UNPKG

motion-v

Version:

<h1 align="center"> <img width="35" height="35" alt="Motion logo" src="https://github.com/user-attachments/assets/00d6d1c3-72c4-4c2f-a664-69da13182ffc" /><br />Motion for Vue</h1>

24 lines (23 loc) 710 B
import { LayoutGroupState } from './context'; /** * Props for configuring layout group behavior */ export interface LayoutGroupProps { /** Optional ID for the layout group */ id?: string; /** * Controls inheritance of parent group properties: * - true: Inherit both id and group * - 'id': Only inherit id * - 'group': Only inherit group */ inherit?: boolean | 'id' | 'group'; } /** * Hook to create and manage a layout group * Handles group inheritance, force updates, and context management */ export declare function useLayoutGroupProvider(props: LayoutGroupProps): LayoutGroupState; export declare function useLayoutGroup(): { forceRender: VoidFunction; };