alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
13 lines (12 loc) • 410 B
TypeScript
import { 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 {};