[MIRROR] TGUI 5.0 Patch 1 (#7701)

Co-authored-by: Selis <sirlionfur@hotmail.de>
This commit is contained in:
CHOMPStation2
2024-02-08 07:31:06 -07:00
committed by GitHub
parent 103514bd40
commit eebf92d66f
121 changed files with 1546 additions and 2676 deletions

View File

@@ -740,9 +740,10 @@ Popper lets you position elements so that they don't go out of the bounds of the
**Props:**
- `popperContent: ReactNode` - The content that will be put inside the popper.
- `options?: { ... }` - An object of options to pass to `createPopper`. See [https://popper.js.org/docs/v2/constructors/#options], but the one you want most is `placement`. Valid placements are "bottom", "top", "left", and "right". You can affix "-start" and "-end" to achieve something like top left or top right respectively. You can also use "auto" (with an optional "-start" or "-end"), where a best fit will be chosen.
- `additionalStyles: { ... }` - A map of CSS styles to add to the element that will contain the popper.
- `content: ReactNode` - The content that will be put inside the popper.
- `isOpen: boolean` - Whether or not the popper is open.
- `onClickOutside?: (e) => void` - A function that will be called when the user clicks outside of the popper.
- `placement?: string` - The placement of the popper. See [https://popper.js.org/docs/v2/constructors/#placement]
### `ProgressBar`