UNPKG

alinea

Version:

[![npm](https://img.shields.io/npm/v/alinea.svg)](https://npmjs.org/package/alinea) [![install size](https://packagephobia.com/badge?p=alinea)](https://packagephobia.com/result?p=alinea)

13 lines (12 loc) 410 B
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 {};