/** * Copyright (c) Paymium. * * This source code is licensed under the MIT license found in the * LICENSE file in the root of this projects source tree. */ import { ComponentType } from 'react'; export type SlotProps
= P & SlotPropsInterface
; export interface SlotPropsInterface
{ Comp: ComponentType
;
/**
* When true, component expects a single child element.
* Instead of rendering its own element, it will pass all props to that child,
* merging together any event handling props.
* When "except-style", the same behavior except Tamagui won't pass styles down from the parent,
* only non-style props
*/
asChild?: boolean;
}
export declare const Slot: import("react").ForwardRefExoticComponent