piral-core
Version:
The core library for creating a Piral instance.
12 lines (11 loc) • 403 B
TypeScript
import * as React from 'react';
import { ExtensionSlotProps } from '../types';
/**
* The extension slot component to be used when the available
* extensions of a given name should be rendered at a specific
* location.
*/
export declare function ExtensionSlot<T extends string>(props: ExtensionSlotProps<T>): React.JSX.Element;
export declare namespace ExtensionSlot {
var displayName: string;
}