alinea
Version:
Headless git-based CMS
12 lines (11 loc) • 366 B
TypeScript
import { type ComponentType, type HTMLProps, type PropsWithChildren } from 'react';
type Slots = {
Provider: ComponentType<PropsWithChildren<{}>>;
Portal: ComponentType<HTMLProps<HTMLDivElement>>;
Slot: ComponentType<PropsWithChildren<{}>>;
useSlots: () => {
shown: boolean;
};
};
export declare function createSlots(): Slots;
export {};