alinea
Version:
[](https://npmjs.org/package/alinea) [](https://packagephobia.com/result?p=alinea)
12 lines (11 loc) • 351 B
TypeScript
import { ComponentType, HTMLProps, PropsWithChildren } from 'react';
type Slots = {
Provider: ComponentType<PropsWithChildren<{}>>;
Portal: ComponentType<HTMLProps<HTMLDivElement>>;
Slot: ComponentType<PropsWithChildren<{}>>;
useSlots: () => {
shown: boolean;
};
};
export declare function createSlots(): Slots;
export {};