Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
18 lines
712 B
Plaintext
18 lines
712 B
Plaintext
import * as React from 'react';
|
|
|
|
interface SlotProps extends React.HTMLAttributes<HTMLElement> {
|
|
children?: React.ReactNode;
|
|
}
|
|
declare function createSlot(ownerName: string): React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLElement>>;
|
|
declare const Slot: React.ForwardRefExoticComponent<SlotProps & React.RefAttributes<HTMLElement>>;
|
|
interface SlottableProps {
|
|
children: React.ReactNode;
|
|
}
|
|
interface SlottableComponent extends React.FC<SlottableProps> {
|
|
__radixId: symbol;
|
|
}
|
|
declare function createSlottable(ownerName: string): SlottableComponent;
|
|
declare const Slottable: SlottableComponent;
|
|
|
|
export { Slot as Root, Slot, type SlotProps, Slottable, createSlot, createSlottable };
|