1681-engine / react / UiProvider
Function: UiProvider() ​
ts
function UiProvider(__namedParameters): Element;Defined in: src/react/UiProvider.tsx:66
Optional: sets the touch mode, the window scale, the words and the box to place things in for every component below it. A UI mounted in a DomOverlay passes the overlay's content size as viewport and the overlay's content as portal, so tooltips and lists land inside its scaled box.
Parameters ​
| Parameter | Type |
|---|---|
__namedParameters | UiProviderProps |
Returns ​
Element