PopperOwnProps

Inheritors

Types

Link copied to clipboard
external interface SlotProps

Properties

Link copied to clipboard
abstract external var anchorEl: Any?

An HTML element, virtualElement, or a function that returns either. It's used to set the position of the popper. The return value will passed as the reference object of the Popper instance.

Link copied to clipboard
abstract external override var children: ReactNode?

Popper render function or node.

Link copied to clipboard
abstract external var container: Element?

An HTML element or function that returns one. The container will have the portal children appended to it.

Link copied to clipboard
abstract external var direction: PopperDirection?

Direction of the text.

Link copied to clipboard
abstract external var disablePortal: Boolean?

The children will be under the DOM hierarchy of the parent component.

Link copied to clipboard
abstract external var keepMounted: Boolean?

Always keep the children in the DOM. This prop can be useful in SEO situation or when you want to maximize the responsiveness of the Popper.

Link copied to clipboard
abstract external var key: Key?
Link copied to clipboard
abstract external var modifiers: ReadonlyArray<Modifier<*>>?

Popper.js is based on a "plugin-like" architecture, most of its features are fully encapsulated "modifiers".

Link copied to clipboard
abstract external var open: Boolean

If true, the component is shown.

Link copied to clipboard
abstract external var placement: Placement?

Popper placement.

Link copied to clipboard
abstract external var popperOptions: Options?

Options provided to the Popper.js instance.

Link copied to clipboard
abstract external var popperRef: Ref<Instance>?

A ref that points to the used popper instance.

Link copied to clipboard
abstract external var slotProps: PopperOwnProps.SlotProps?

The props used for each slot inside the Popper.

Link copied to clipboard
abstract external var slots: PopperSlots?

The components used for each slot inside the Popper. Either a string to use a HTML element or a component.

Link copied to clipboard
abstract external var transition: Boolean?

Help supporting a react-transition-group/Transition component.

Functions

Link copied to clipboard
open inline external fun <P : Props> child(type: ElementType<P>, props: P)
Link copied to clipboard
open inline operator external fun <P : Props> ElementType<P>.invoke()
open inline operator external fun <P : Props> ElementType<P>.invoke(noinline block: P.() -> Unit)
open inline operator external fun <T> Provider<T>.invoke(value: T, noinline block: ChildrenBuilder.() -> Unit)
Link copied to clipboard
open inline operator external fun Char.unaryPlus()
open inline operator external fun String?.unaryPlus()
open inline operator external fun ReactNode?.unaryPlus()
open inline operator external fun Props?.unaryPlus()