alinea
Version:
Headless git-based CMS
13 lines (12 loc) • 415 B
TypeScript
import { type PropsWithChildren } from 'react';
type Parent = 'sink' | 'lift';
interface Elevation {
level: number;
parent?: Parent;
}
export declare const useElevation: () => Elevation;
export interface ElevationProviderProps {
type: Parent;
}
export declare function ElevationProvider({ children, type }: PropsWithChildren<ElevationProviderProps>): import("react/jsx-runtime").JSX.Element;
export {};